Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: simplifyToolboxToolset lazy init and use private attributes#472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
anubhav756 wants to merge18 commits intodocs/toolbox-adk-readme
base:docs/toolbox-adk-readme
Choose a base branch
Loading
fromfeat/toolbox-adk-package

Conversation

@anubhav756
Copy link
Contributor

@anubhav756anubhav756 commentedDec 19, 2025
edited
Loading

This PR refactorsToolboxToolset to use private attributes for internal state and implements lazy initialization for theclient property to preventRuntimeError during global instantiation. This ensures a singleton client pattern while maintaining thread safety during import.

@anubhav756anubhav756 requested a review froma team as acode ownerDecember 19, 2025 11:10
@anubhav756anubhav756 changed the titlefeat: simplify ToolboxToolset lazy init and use private attributesfeat: simplifyToolboxToolset lazy init and use private attributesDec 19, 2025
@anubhav756anubhav756 changed the base branch frommain todocs/toolbox-adk-readmeDecember 19, 2025 11:43
@anubhav756anubhav756force-pushed thefeat/toolbox-adk-package branch 18 times, most recently fromc52302d to0b8602cCompareDecember 19, 2025 15:58
@anubhav756anubhav756force-pushed thefeat/toolbox-adk-package branch 5 times, most recently froma577def toed9d26dCompareDecember 19, 2025 16:28
Implements the ToolboxToolset class in toolbox-adk.- Wraps ToolboxClient to provide tools to ADK agents.- Supports all standard credential strategies.- Adds support for auth_token_getters to handle tools with custom authSources (runtime token resolution).- Includes unit tests for toolset functionality.
Adds a comprehensive integration test suite for toolbox-adk matching toolbox-core coverage.- Basic E2E: Loading toolsets, running tools.- Parameters: Bound parameters, Map parameters, Optional parameters.- Authentication: Verifies auth_token_getters propagation and error handling.- Input Validation: Verifies correct error types for missing/invalid inputs.
Adds factory methods to CredentialStrategy to easily create configurations from ADK objects.- from_adk_auth_config(auth_config)- from_adk_credentials(scheme, credential)ENSURES strict consistency between ADK auth types and Toolbox credential requirements.
Adds factory methods to CredentialStrategy to easily create configurations from ADK objects.- from_adk_auth_config(auth_config)- from_adk_credentials(scheme, credential)ENSURES strict consistency between ADK auth types and Toolbox credential requirements.
Adds factory methods to CredentialStrategy to easily create configurations from ADK objects.- from_adk_auth_config(auth_config)- from_adk_credentials(scheme, credential)ENSURES strict consistency between ADK auth types and Toolbox credential requirements.
@anubhav756anubhav756force-pushed thefeat/toolbox-adk-package branch 3 times, most recently frome542e08 to19487caCompareDecember 19, 2025 16:53
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@averikitschaverikitschAwaiting requested review from averikitsch

@kurtisvgkurtisvgAwaiting requested review from kurtisvg

Assignees

@anubhav756anubhav756

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@anubhav756@twishabansal@renovate-bot

[8]ページ先頭

©2009-2025 Movatter.jp