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.
skip_summarization
1 parent 21d2047 commit 94c7f95Copy full SHA for 94c7f95
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