Action Confirmation issue using API Server - Human in the loop #3817
Unanswered
ynaiborlang
asked this question in
Q&A
Replies: 1 comment
-
|
That AttributeError on invocation_context.agent.name usually means the session lost track of which agent triggered the confirmation. Check if your invocation_id matches the one from the original function call event exactly. The api_server reconstructs the agent from the session state and if the invocation context is stale it returns None instead of the agent object. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I am trying to pass the response to the tool confirmation with adk api_server but I'm gettting this error :
So basically if the user wants to book a car but the number of passengers exceeds the maximum passenger capacity of cars in the database, it should contact the admin and inquire if they can make special arrangements for a bigger vehicle
this is my function call event :
and this is my POST request body :
adk version : 1.20.0
Am I missing something? Thanks
Beta Was this translation helpful? Give feedback.
All reactions