Note
I was sure this was a backend issue about tools, but I just verified that the websocket message in fact arrives to the admin. Maybe there is some check about content being a string
To Reproduce
create a tool with @tool(return_direct=True)
tool returns a number return 2
message does not end up in the chat
If you return "2", the message is correctly picked
Note I was sure this was a backend issue about tools, but I just verified that the websocket message in fact arrives to the admin. Maybe there is some check about
content
being a stringTo Reproduce
@tool(return_direct=True)
return 2
If you
return "2"
, the message is correctly picked