8000 fix: skip agent after-tool callbacks when a plugin replaces the result by copybara-service[bot] · Pull Request #900 · google/adk-kotlin · GitHub
[go: up one dir, main page]

Skip to content

fix: skip agent after-tool callbacks when a plugin replaces the result - #900

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1015498761
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1015498761

Conversation

@copybara-service
Copy link
Copy Markdown

fix: skip agent after-tool callbacks when a plugin replaces the result

  • To leave a result unchanged, a plugin's afterTool must return the map it
    was given; any other map, even an equal copy, replaces it.

- To leave a result unchanged, a plugin's `afterTool` must return the map it
  was given; any other map, even an equal copy, replaces it.

PiperOrigin-RevId: 1015498761
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.

1 participant

0