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

This commit is contained in:
CaIon
2025-06-22 00:59:39 +08:00
parent 384fadf227
commit ef32cc8e0a

View File

@@ -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"`