ADK changes

PiperOrigin-RevId: 794403729
This commit is contained in:
Google Team Member
2025-08-12 22:29:23 -07:00
committed by Copybara-Service
parent e2518dc371
commit 114db93d70
22 changed files with 54 additions and 134 deletions
+1 -4
View File
@@ -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