fix: add missing created

This commit is contained in:
CaIon
2024-03-21 23:46:43 +08:00
parent 2b4119df8a
commit 5c13d58e89

View File

@@ -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,