thousands-night-79795
07/08/2025, 12:54 PMtall-airline-16756
07/08/2025, 12:54 PMtall-airline-16756
07/08/2025, 12:54 PMmax_nested_fnc_calls
option in the agent's configuration. This option controls the maximum depth of nested function calls allowed before the agent drops the function context.
For example, initializing the agent with a limit of 2 nested calls looks like this:
agent = LiveKitAgent(options={"max_nested_fnc_calls": 2})
With this setting, if the nesting depth exceeds 2, the agent logs a warning and prevents further nesting by dropping the function context.thousands-night-79795
07/08/2025, 12:57 PMtall-airline-16756
07/08/2025, 12:58 PMmax_nested_fnc_calls
configuration option exists, I couldn't find a specific documentation link that walks you through the details. If you're looking for more guidance, I recommend reaching out directly to the LiveKit community or checking their GitHub repository for the most up-to-date information. I'm happy to help you brainstorm or explore alternative solutions if you'd like!