When running a tool call (tools.py), it should accept None as the argument. (Issue with end_turn tool) #378
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
enhancement
Enhance an existing feature
Description
I am using Qwen2.5 as my llm. When calling the end_turn tool in multiagent tasks, the "end_turn" tool is called with None for the arguments, rather than an empty dictionary as is done with gpt.
This causes this error:
The issue is this part of the file
tools/tools.py
(around line 60)This issue is resolved if a check for None is added:
Example Code
Version Information
Additional Context
No response
The text was updated successfully, but these errors were encountered: