How to initialise session state when running agent with adk web
#2199
gmyrianthous
started this conversation in
General
Replies: 2 comments 3 replies
-
You may try this |
Beta Was this translation helpful? Give feedback.
2 replies
-
If you're doing it from the web interface, you can click the three dots next to the text area, select the option, and load it. Now, if you want to do it over the REST API, make a POST to http://localhost:8000/apps/my_example_agent/users/user_123/sessions with a body containing the desired state, e.g., {"some_state": "some_value"} |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
When running the agent with a runner, initialising the session state is straight forward:
What is the easiest way to do this when running the agent via
adk web
?Beta Was this translation helpful? Give feedback.
All reactions