소스 검색

fix: remove redundant reasoning assignment in ChatCompletionsStreamResponseChoiceDelta

CaIon 6 달 전
부모
커밋
85f81df2f8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      dto/openai_response.go

+ 1 - 1
dto/openai_response.go

@@ -110,7 +110,7 @@ func (c *ChatCompletionsStreamResponseChoiceDelta) GetReasoningContent() string
 
 func (c *ChatCompletionsStreamResponseChoiceDelta) SetReasoningContent(s string) {
 	c.ReasoningContent = &s
-	c.Reasoning = &s
+	//c.Reasoning = &s
 }
 
 type ToolCallResponse struct {