Merge pull request #858 from trheyi/main

Remove debug print statement in OpenAI message parsing
This commit is contained in:
Max 2025-02-09 10:09:45 +08:00 committed by GitHub
commit 1556f3c790
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -232,7 +232,6 @@ func NewOpenAI(data []byte, isThinking bool) *Message {
msg.Text = text
msg.IsDone = chunk.Choices[0].FinishReason == "tool_calls" // is done when tool calls are finished
fmt.Printf("arguments: %s, finish_reason: %#v\n", arguments, chunk.Choices[0].FinishReason)
return msg
}