Skip to content
Discussion options

You must be logged in to vote

Response from ADK Answering Agent (experimental, answer may be inaccurate)

TLDR: Your architecture is on the right track. You should manage userIDs when you create sessions for each client. Within your tools, you can then access session-specific data using the ToolContext object, which holds the session's state. For a production environment, it is recommended to use a distributed session store instead of the default in-memory one.


Hello! Based on the ADK documentation, here is some information that might help you with your questions.

Accessing Client-Specific Data

You are correct to think about the context of a tool call. In ADK, this is handled by the ToolContext. While the userID is no…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hangfei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bot responded [Bot] This issue is responded by ADK bot
2 participants