famous-toothbrush-40261
05/15/2025, 12:55 PM'session.update_agent()'
in the AgentSession keeps giving no activity context found, this task is not running
error, any way to solve this?tall-airline-16756
05/15/2025, 12:55 PMtall-airline-16756
05/15/2025, 12:55 PMsession.update_agent()
occurs when the session hasn't been started yet. This happens because the method tries to access the _activity
property, which is None
when the session isn't running.
To resolve this issue, ensure that your session is properly started before calling update_agent()
. If you need further assistance, feel free to ask!
Sources: Tree View: | dse-workbenchfamous-toothbrush-40261
05/15/2025, 12:56 PMtall-airline-16756
05/15/2025, 12:56 PMupdate_agent()
triggers in the background. Errors in this task might not be immediately visible when calling the method.
To investigate further, I recommend checking for any errors in the _update_activity_task
method or ensuring proper error handling for the asynchronous task. If you need additional guidance, feel free to provide more details about your implementation or any error logs you have.
Sources: Tree View: | dse-workbench