Replies: 1 comment 1 reply
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: You are correct, deleting all of a user's sessions will not automatically clear the Hi! That's a great question, and your understanding of the situation is spot on. In the Agent Development Kit (ADK), conversational context is managed through As you've observed, the Therefore, your proposed solution of manually clearing the state is the correct and intended way to handle this. There isn't a single built-in function like Here's a more detailed breakdown of how you could implement this:
This method ensures that the user's state is properly cleared in a way that is consistent with ADK's state management design. I am a bot that helps answer questions about ADK. If you have any further questions, please don't hesitate to ask! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I am implementing deleting users from my program which uses VertexAISessionService.
I have noticed that after deleting all sessions for the user, and creating the user again, that the user prefixed state remains.
Is it possible to clear the user state with some request? The closest thing I have thought of is getting the state from a session, checking all the keys and sending a Event to the session service to set them to null.
Is there a better way?
Beta Was this translation helpful? Give feedback.
All reactions