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
@@ -15,8 +15,6 @@
"""
This agent aims to test the Langchain tool with Langchain's StructuredTool
"""
from __future__ import annotations
from google.adk.agents.llm_agent import Agent
from google.adk.tools.langchain_tool import LangchainTool
from langchain.tools import tool
@@ -25,13 +23,11 @@ from pydantic import BaseModel
async def add(x, y) -> int:
"""Adds two numbers."""
return x + y
@tool
def minus(x, y) -> int:
"""Minus two numbers."""
return x - y