docs(memory): refresh against current adk-python APIs#1700
Merged
Conversation
The memory page has drifted from the implementation. The MultiMemoryAgent example raises ValueError on construction (assigning to a Pydantic model with extra="forbid"), the auto-save callback reaches into the private _invocation_context attribute when public Context.add_session_to_memory() exists, and the API surface description is missing add_events_to_memory, add_memory, and the third memory service (VertexAiRagMemoryService).
✅ Deploy Preview for adk-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
koverholt
approved these changes
Apr 28, 2026
koverholt
left a comment
Collaborator
There was a problem hiding this comment.
Thank you for the updates! ❤️
I updated some product names (Vertex AI -> Agent Platform) in the prose for consistency, and I will open a new PR to make RAG Engine rename updates across the docs, including this page.
LGTM, merging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The memory page has drifted from the implementation:
MultiMemoryAgentexample raisesValueErroron construction(assigns to a Pydantic model with
extra="forbid")._invocation_contextattribute when public
Context.add_session_to_memory()exists.add_events_to_memoryand
add_memory.VertexAiRagMemoryService(a thirdbundled implementation).
(
MemoryResult; actual isMemoryEntry) and shows positional argsfor
search_memory(it's keyword-only).This PR refreshes the page against adk-python 1.31.0. The replacement
two-memory example is tool-based (no Agent subclassing) and verified
to construct against current adk-python.