8000 chore: Moves toolbox-core to extensions extra dependency. · google/adk-python@ae7d19a · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit ae7d19a

Browse files
Jacksunweicopybara-github
authored andcommitted
chore: Moves toolbox-core to extensions extra dependency.
PiperOrigin-RevId: 760722343
1 parent 171b114 commit ae7d19a

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ dependencies = [
4545
"sqlalchemy>=2.0", # SQL database ORM
4646
"tzlocal>=5.3", # Time zone utilities
4747
"uvicorn>=0.34.0", # ASGI server for FastAPI
48-
"toolbox-core>=0.1.0",
4948
# go/keep-sorted end
5049
]
5150
dynamic = ["version"]
@@ -113,6 +112,7 @@ extensions = [
113112
"litellm>=1.63.11", # For LiteLLM support
114113
"llama-index-readers-file>=0.4.0", # For retrieval using LlamaIndex.
115114
"lxml>=5.3.0", # For load_web_page tool.
115+
"toolbox-core>=0.1.0", # For tools.toolbox_toolset.ToolboxToolset
116116
]
117117

118118

src/google/adk/tools/__init__.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,24 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# pylint: disable=g-bad-import-order
15-
from .base_tool import BaseTool
14+
1615

1716
from ..auth.auth_tool import AuthToolArguments
1817
from .apihub_tool.apihub_toolset import APIHubToolset
18+
from .base_tool import BaseTool
1919
from .built_in_code_execution_tool import built_in_code_execution
20-
from .google_search_tool import google_search
21-
from .vertex_ai_search_tool import VertexAiSearchTool
2220
from .example_tool import ExampleTool
2321
from .exit_loop_tool import exit_loop
2422
from .function_tool import FunctionTool
2523
from .get_user_choice_tool import get_user_choice_tool as get_user_choice
24+
from .google_search_tool import google_search
2625
from .load_artifacts_tool import load_artifacts_tool as load_artifacts
2726
from .load_memory_tool import load_memory_tool as load_memory
2827
from .long_running_tool import LongRunningFunctionTool
2928
from .preload_memory_tool import preload_memory_tool as preload_memory
3029
from .tool_context import ToolContext
3130
from .transfer_to_agent_tool import transfer_to_agent
32-
from .toolbox_toolset import ToolboxToolset
33-
31+
from .vertex_ai_search_tool import VertexAiSearchTool
3432

3533
__all__ = [
3634
'APIHubToolset',
@@ -48,6 +46,5 @@
4846
'LongRunningFunctionTool',
4947
'preload_memory',
5048
'ToolContext',
51-
'ToolboxToolset',
5249
'transfer_to_agent',
5350
]

0 commit comments

Comments
 (0)
0