clever-rose-90056
12/31/2025, 12:20 AMtall-airline-16756
12/31/2025, 12:20 AMtall-airline-16756
12/31/2025, 12:20 AMfunction_tool returns an Agent, making the returned Agent the active agent and invoking its entry logic. This handoff is the expected, reliable behavior.
When a returned Agent might not become active:
• The docs do not list any valid or supported cases where this happens. If a returned Agent does not become active in your system, it indicates an unexpected failure (for example, an undocumented runtime error, session failure, or resource issue), not normal behavior.
If you’re encountering this in practice, I can help troubleshoot. Can you share:
• a minimal reproducible example (code of the tool and returned Agent),
• any error logs or messages,
• and the session/room context where it happens? Sources: TTS Comparison | LiveKit docs | Agents and handoffs | LiveKit docs