Merge branch 'main' into google-search-display

This commit is contained in:
Yifan 2025-04-22 11:30:38 -07:00 committed by GitHub
commit 353ff50611
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,10 +45,9 @@ class AgentTool(BaseTool):
skip_summarization: Whether to skip summarization of the agent output. 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.agent = agent
self.skip_summarization: bool = False self.skip_summarization: bool = skip_summarization
"""Whether to skip summarization of the agent output."""
super().__init__(name=agent.name, description=agent.description) super().__init__(name=agent.name, description=agent.description)