mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
ADK changes
PiperOrigin-RevId: 794403729
This commit is contained in:
committed by
Copybara-Service
parent
e2518dc371
commit
114db93d70
@@ -15,7 +15,6 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
from typing import Optional
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from google.genai import types
|
||||
@@ -62,9 +61,7 @@ class AgentTool(BaseTool):
|
||||
return data
|
||||
|
||||
@override
|
||||
def _get_declaration(
|
||||
self, ignore_return_declaration: bool = False
|
||||
) -> Optional[types.FunctionDeclaration]:
|
||||
def _get_declaration(self) -> types.FunctionDeclaration:
|
||||
from ..agents.llm_agent import LlmAgent
|
||||
from ..utils.variant_utils import GoogleLLMVariant
|
||||
|
||||
|
||||
Reference in New Issue
Block a user