mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-04 05:13: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{
|
||||
Id: responseWithError.Id,
|
||||
Created: responseWithError.Created,
|
||||
Object: responseWithError.Object,
|
||||
Choices: responseWithError.Choices,
|
||||
Model: responseWithError.Model,
|
||||
|
||||
Reference in New Issue
Block a user