-
Hey! I've built an ADK agent and deployed it to agent engine and I'm trying to find a way to invoke it with some customer metadata. The idea is to be able to pass metadata from my backend for front end and then be able to use that data within the Agent invocation - this is for multiple purposes including multi tenancy, personalization, etc. Having looked at the method signatures Runner.run() is very strict and doesn't allow extra parameters. I also considered using HTTP header or the session state, but neither seem to be viable options. Is there any other way to achieve this? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
figured it out -- you can create a session and pass metadata into the "state", under "input" here is an example
|
Beta Was this translation helpful? Give feedback.
figured it out -- you can create a session and pass metadata into the "state", under "input"
here is an example