Commit 93fb5bab by CaIon

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

parent 7de52a0c
...@@ -26,7 +26,7 @@ type OpenAITextResponse struct { ...@@ -26,7 +26,7 @@ type OpenAITextResponse struct {
Id string `json:"id"` Id string `json:"id"`
Model string `json:"model"` Model string `json:"model"`
Object string `json:"object"` Object string `json:"object"`
Created int64 `json:"created"` Created any `json:"created"`
Choices []OpenAITextResponseChoice `json:"choices"` Choices []OpenAITextResponseChoice `json:"choices"`
Error *OpenAIError `json:"error,omitempty"` Error *OpenAIError `json:"error,omitempty"`
Usage `json:"usage"` Usage `json:"usage"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment