ソースを参照

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 {