Explorar el Código

fix: add missing created

CaIon hace 2 años
padre
commit
ff7da08bad
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      relay/channel/openai/relay-openai.go

+ 1 - 0
relay/channel/openai/relay-openai.go

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