chore!: bump version to 1.0.0, updated changelog.md and removed src/google/adk/tools/built_in_code_execution_tool.py

Mark src/google/adk/tools/_built_in_code_execution_tool.py as private and will be fully removed soon.

PiperOrigin-RevId: 760889060
This commit is contained in:
Wei Sun (Jack)
2025-05-19 20:30:51 -07:00
committed by Copybara-Service
parent de7c9c6509
commit 5115474f2b
6 changed files with 59 additions and 7 deletions
-2
View File
@@ -16,7 +16,6 @@
from ..auth.auth_tool import AuthToolArguments
from .apihub_tool.apihub_toolset import APIHubToolset
from .base_tool import BaseTool
from .built_in_code_execution_tool import built_in_code_execution
from .example_tool import ExampleTool
from .exit_loop_tool import exit_loop
from .function_tool import FunctionTool
@@ -34,7 +33,6 @@ __all__ = [
'APIHubToolset',
'AuthToolArguments',
'BaseTool',
'built_in_code_execution',
'google_search',
'VertexAiSearchTool',
'ExampleTool',
@@ -52,8 +52,8 @@ class BuiltInCodeExecutionTool(BaseTool):
llm_request: LlmRequest,
) -> None:
logger.warning(
'BuiltInCodeExecutionTool is deprecated. Please use the new'
' BuiltInCodeExecutor instead.'
'BuiltInCodeExecutionTool is deprecated and will be removed in 1.1.0.'
' Please use the new BuiltInCodeExecutor instead.'
)
if llm_request.model and llm_request.model.startswith('gemini-2'):
llm_request.config = llm_request.config or types.GenerateContentConfig()