We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bbeb652 + 0e9096d commit 353ff50Copy full SHA for 353ff50
src/google/adk/tools/agent_tool.py
@@ -45,10 +45,9 @@ class AgentTool(BaseTool):
45
skip_summarization: Whether to skip summarization of the agent output.
46
"""
47
48
- def __init__(self, agent: BaseAgent):
+ def __init__(self, agent: BaseAgent, skip_summarization: bool = False):
49
self.agent = agent
50
- self.skip_summarization: bool = False
51
- """Whether to skip summarization of the agent output."""
+ self.skip_summarization: bool = skip_summarization
52
53
super().__init__(name=agent.name, description=agent.description)
54
0 commit comments