Skip to content

Commit

Permalink
fix: add missing created
Browse files Browse the repository at this point in the history
  • Loading branch information
Calcium-Ion committed Mar 21, 2024
1 parent 3e03c5a commit ff7da08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions relay/channel/openai/relay-openai.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ff7da08

Please sign in to comment.