Sfoglia il codice sorgente

fix: remove redundant reasoning assignment in ChatCompletionsStreamResponseChoiceDelta

CaIon 6 mesi fa
parent
commit
85f81df2f8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 {