-
Notifications
You must be signed in to change notification settings - Fork 346
Closed
Labels
Description
State is discussed in this section: https://google.github.io/adk-docs/sessions/#core-concepts and in /sessions/state. https://google.github.io/adk-docs/sessions/state/#how-state-is-updated-recommended-methods indicates 3 recommended ways to update the state, but misses a quite important way to do through a context: https://google.github.io/adk-docs/context/#managing-session-state.
It takes some time to realize that when using a Context it's OK to do direct state manipulation, while session.state shouldn't be updated. Perhaps highlighting these distinctions will help avoid confusion.
elbouamrani