Hi,
I’m having an issue with session_state not being updated by a team agent in the Agno framework.
I can see that the update_session_state tool is being called, but it’s always invoked with an empty payload. For example:
Tool Calls:
- ID: 'call_94109040'
Name: 'update_session_state'
Arguments: 'session_state_updates: {}'
************************ METRICS *************************
Running: update_session_state(session_state_updates={})
Even when I explicitly force the model to call this tool with a populated map (including specific key–value pairs), the call still ends up with an empty session_state_updates object, and the session state is never updated.
I’ve tested this behavior with both GPT and Grok models and see the same result.
Is there anything additional I need to configure to allow a team agent to update the session state properly? Maybe a way to improve or adjust the tool description so the model reliably passes the expected key-value data?
I’m using Agno version 2.0.7.5.
Thanks for your help.