Skip to content

Update memory to fix issue 1350- 6#1951

Merged
koverholt merged 8 commits into
mainfrom
zyantw-patch-3
Jul 14, 2026
Merged

Update memory to fix issue 1350- 6#1951
koverholt merged 8 commits into
mainfrom
zyantw-patch-3

Conversation

@zyantw

@zyantw zyantw commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Update: This PR isolates the memory documentation updates from #1361. Here are the exact changes included:

-Agent (adk-bot) changes: Documented the new add_memory method for direct memory management.
-My changes: Updated memory.md to address the requirements from Issue #1350 - 6 and merged the agent's additions, solved conflics, corrected typos, and did stylistic changes
Deployed: https://deploy-preview-1951--adk-docs-preview.netlify.app/sessions/memory/
PRs: #1361 #1358
Issue: #1350

adk-bot and others added 5 commits February 27, 2026 00:36
Simplified dense sections, corrected markdown formatting errors, and fixed typos to align with documentation standards. Corrected some sections from the original page and the agent's PR that were a little clunky. Erased sentences inside paragraph's ,Joe's request, and included commas instead. All this while including the necessary update.
-Worked on feedback, fixed errors, changed wording slightly, and reviewed format.
-Some changes were lost when I tried to resolve conflicts between branches in my last commit. I added them back here.
@netlify

netlify Bot commented Jul 10, 2026

Copy link
Copy Markdown

Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 2cc5666
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/6a55a920b79dcc0008996be7
😎 Deploy Preview https://deploy-preview-1951--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@zyantw zyantw requested a review from koverholt July 10, 2026 22:42
@koverholt

Copy link
Copy Markdown
Collaborator

Thanks! Quick question, why is this a new PR instead of pushing updates to #1361?

@zyantw zyantw changed the title Zyantw patch 3 Update memory to fix issue 1350- 6 Jul 10, 2026

@koverholt koverholt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving and merging. Thanks for documenting add_memory for #1350 item 6. I verified the memory content against the ADK Python SDK and everything checks out.

I pushed two commits before merging.

In-scope fixes:

  • Fixed the add_memory example import: MemoryEntry should be imported from google.adk.memory.memory_entry.
  • Restored add_events_to_memory to the operations list and noted that direct-write operations aren't implemented by every service.
  • Corrected the ## Memory bank heading to ## Memory Bank to keep the product name capitalized.
  • Changed "This entry" to "This method" in the add_memory bullet.

Out-of-scope cleanup:

  • Replaced the truncated Java example with a new MemoryExample.java referenced via a snippet include, and verified it compiles against ADK Java 1.6.0.
  • Renamed the ## In-memory memory heading to ## InMemoryMemoryService for readability and consistency with session and artifact pages.
  • Fixed the undefined agent_engine reference in the manual-instantiation snippet.
  • Wrapped prose to ~80 columns, switched bullets from * to -, and fixed inconsistent tab indentation.

Thanks for the iterations on this one!

@koverholt koverholt merged commit 6253e6c into main Jul 14, 2026
11 of 12 checks passed
@koverholt koverholt deleted the zyantw-patch-3 branch July 14, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants