Преглед изворни кода

✨ fix(dto): change Created field type in OpenAITextResponse to any. (close #1131)

CaIon пре 6 месеци
родитељ
комит
ef32cc8e0a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      dto/openai_response.go

+ 1 - 1
dto/openai_response.go

@@ -26,7 +26,7 @@ type OpenAITextResponse struct {
 	Id      string                     `json:"id"`
 	Model   string                     `json:"model"`
 	Object  string                     `json:"object"`
-	Created int64                      `json:"created"`
+	Created any                        `json:"created"`
 	Choices []OpenAITextResponseChoice `json:"choices"`
 	Error   *OpenAIError               `json:"error,omitempty"`
 	Usage   `json:"usage"`