Remove debug print statement in OpenAI message parsing
- Remove unnecessary debug print of arguments and finish reason - Maintain clean and concise message processing logic - Align with previous refactoring efforts to simplify code
This commit is contained in:
parent
38ee806cff
commit
5be65d91cd
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue