wooden-belgium-67978
09/05/2025, 6:58 PMtall-airline-16756
09/05/2025, 6:58 PMtall-airline-16756
09/05/2025, 6:59 PMev.cancel_tool_reply() in your event handlers.
• Step Limits: See if the maximum number of tool call steps (maxToolSteps) has been hit—that would stop things from moving forward.
• Agent Handoff: Make sure there’s only one agent handoff happening per tool execution cycle to keep things running smoothly.
• LLM Settings: Take a look at whether auto_tool_reply_generation is turned on, since it might be handling replies behind the scenes.
• Invalid Output: Confirm that the tool is returning data types that can be serialized to avoid any hiccups.
For debugging, try checking the logs for any warnings, look closely at what the tool is returning, and use testing tools to see how everything behaves. If you want, I’m here to help walk you through any of these steps!
Sources: agents/src/voice/generation.ts | tests/test_agent_session.py | Docs::Agents