Skip to content

refactor: update memory req/resp names#671

Merged
dpasiukevich merged 1 commit intogoogle:mainfrom
dpasiukevich:mem
Mar 20, 2026
Merged

refactor: update memory req/resp names#671
dpasiukevich merged 1 commit intogoogle:mainfrom
dpasiukevich:mem

Conversation

@dpasiukevich
Copy link
Collaborator

@dpasiukevich dpasiukevich commented Mar 20, 2026

BREAKING CHANGE:

We decided to keep the new name for the memory service method: SearchMemory so it's a consistent naming across ADKs.

While for the req/resp we already have to keep the original naming memory.SearchRequest and memory.SearchResponse. These structs are used in ToolContext and many users already rely and use them (e.g in their tests), so this is a large breaking change, not worth it.

Copy link
Contributor

@hyangah hyangah left a comment

Choose a reason for hiding this comment

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

Update the PR message to explain why req/resp cannot be renamed to match the method name.

@dpasiukevich dpasiukevich merged commit d06c264 into google:main Mar 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants