mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-07-16 12:12:56 -06:00
Copybara import of the project:
-- 94c7f9579c56cb20252fd61b5fe568f73d864679 by Vignesh Iyer <vgnshiyer@gmail.com>: chore: add support for overriding `skip_summarization` in AgentTool COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/324 from vgnshiyer:main 94c7f9579c56cb20252fd61b5fe568f73d864679 PiperOrigin-RevId: 750060638
This commit is contained in:
parent
21d2047ddc
commit
923d806637
@ -45,10 +45,9 @@ class AgentTool(BaseTool):
|
||||
skip_summarization: Whether to skip summarization of the agent output.
|
||||
"""
|
||||
|
||||
def __init__(self, agent: BaseAgent):
|
||||
def __init__(self, agent: BaseAgent, skip_summarization: bool = False):
|
||||
self.agent = agent
|
||||
self.skip_summarization: bool = False
|
||||
"""Whether to skip summarization of the agent output."""
|
||||
self.skip_summarization: bool = skip_summarization
|
||||
|
||||
super().__init__(name=agent.name, description=agent.description)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user