소스 검색

fix: add missing created

CaIon 2 년 전
부모
커밋
ff7da08bad
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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,