mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-09 23:53:41 +08:00
fix: add missing created
This commit is contained in:
@@ -193,6 +193,7 @@ func OpenaiHandler(c *gin.Context, resp *http.Response, promptTokens int, model
|
|||||||
}
|
}
|
||||||
textResponse := &dto.TextResponse{
|
textResponse := &dto.TextResponse{
|
||||||
Id: responseWithError.Id,
|
Id: responseWithError.Id,
|
||||||
|
Created: responseWithError.Created,
|
||||||
Object: responseWithError.Object,
|
Object: responseWithError.Object,
|
||||||
Choices: responseWithError.Choices,
|
Choices: responseWithError.Choices,
|
||||||
Model: responseWithError.Model,
|
Model: responseWithError.Model,
|
||||||
|
|||||||
Reference in New Issue
Block a user