mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-12-22 05:12:18 -06:00
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:
committed by
Copybara-Service
parent
de7c9c6509
commit
5115474f2b
@@ -13,7 +13,6 @@
|
||||
# limitations under the License.
|
||||
|
||||
from google.genai import types
|
||||
from pydantic import Field
|
||||
from typing_extensions import override
|
||||
|
||||
from ..agents.invocation_context import InvocationContext
|
||||
|
||||
@@ -41,7 +41,7 @@ from .sessions.base_session_service import BaseSessionService
|
||||
from .sessions.in_memory_session_service import InMemorySessionService
|
||||
from .sessions.session import Session
|
||||
from .telemetry import tracer
|
||||
from .tools.built_in_code_execution_tool import built_in_code_execution
|
||||
from .tools._built_in_code_execution_tool import built_in_code_execution
|
||||
|
||||
logger = logging.getLogger('google_adk.' + __name__)
|
||||
|
||||
|
||||
@@ -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()
|
||||
@@ -13,4 +13,4 @@
|
||||
# limitations under the License.
|
||||
|
||||
# version: date+base_cl
|
||||
__version__ = "0.5.0"
|
||||
__version__ = "1.0.0"
|
||||
|
||||
Reference in New Issue
Block a user