fix: initialize BaseToolset and add missing subagent dependencies - #140
Open
ramooncamacho wants to merge 2 commits into
Open
fix: initialize BaseToolset and add missing subagent dependencies#140ramooncamacho wants to merge 2 commits into
ramooncamacho wants to merge 2 commits into
Conversation
Ensure base class initialization is executed properly when instantiating ContextBasedToolset inheriting from ADK's BaseToolset.
Declare direct dependencies required by various subagents and Cloud Run: - google-api-python-client & google-auth-oauthlib (Drive Agent) - langchain-community & langchain-core (Knowledge Graph Builder) - python-dotenv (environment variable loading across subagents) - pyyaml (Patient Handover and SQL translation) - sqlparse (Knowledge Graph and Retail subagents) - aiosqlite (async session database for ADK FastAPI server) - pydantic (type validation across tools and configurations)
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.
Fixes #139
Summary of Changes
agent_bar_v2/tools/context_based_toolset.py:super().__init__()call inContextBasedToolsetto ensure properBaseToolsetinitialization from Google ADK.pyproject.toml:google-api-python-client&google-auth-oauthliblangchain-community&langchain-corepython-dotenvpyyamlsqlparseaiosqlitepydanticVerification
ModuleNotFoundError.aiosqlite.ContextBasedToolset.