You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added human-in-the-loop tool approval hook tool_approval_handler on Conversation,
enabling manual review/approval of each tool call before execution.
Implemented a minimal WebSocket-based browser demo
(examples/tool_approval_web_demo.py) that shows how to:
Send user messages from a web page
Receive tool approval requests from the server
Let users approve/deny tool calls in the browser, and feed the decision back
Improved the tool rejection behavior so that, when a tool call is denied,
the model receives a strong natural-language signal to stop using tools and
answer directly, reducing repeated tool-call loops.