feat(adk): Support ToolContext for auth_token_getters in toolbox-adk#579
Open
anubhav756 wants to merge 8 commits intomainfrom
Open
feat(adk): Support ToolContext for auth_token_getters in toolbox-adk#579anubhav756 wants to merge 8 commits intomainfrom
ToolContext for auth_token_getters in toolbox-adk#579anubhav756 wants to merge 8 commits intomainfrom
Conversation
f8ed79e to
9233619
Compare
5dd5f88 to
342f181
Compare
342f181 to
7f35c0c
Compare
ToolContext for auth_token_getters in toolbox-adk
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.
This PR centralizes our parameter validation logic, adds
ToolContextsupport for ADK auth token getters, and fixes flaky CI/CD test pipelines.Background
toolbox_coreandtoolbox_adk. This made error messages slightly inconsistent and the code harder to maintain.toolbox-adk,auth_token_getterscouldn't access the invocation context. We needed a way to pass the currentToolContextinto these fetchers so they can retrieve tokens dynamically based on the current agent state.Changes
validate_unused_requirements) in thetoolbox-corepackage to ensure error messages are clear and consistent everywhere.toolbox-adkto support 1-argument functions for auth token getters, allowingToolContextto be passed directly in..cloudbuild.yamlworkflows so local package builds are correctly prioritized during integration tests.