Hi,
I’m trying to run Team along with streaming and structured output. From the documentation I understand that is possible Structured Output - Agno, yet I get an error (attaching the end of the error I get otherwise message is too long). I’m using Agno 1.7.1. Any idea about the error and how can I resolve please? Thanks.
class TeamOutput(BaseModel):
response: str = Field(..., description="Response from API")
agent_team = Team(
name=TEAM_NAME,
mode="route",
model=get_model(),
members=[
agent1,
agent2,
agent3,
],
description=AGENT_TEAM_DESCRIPTION,
instructions=AGENT_TEAM_INSTRUCTIONS,
show_tool_calls=True,
show_members_responses=True,
markdown=True,
monitoring=True,
debug_mode=True,
add_datetime_to_instructions=True,
reasoning=True,
reasoning_model=get_model(),
stream=True,
store_events=True,
response_model=TeamOutput,
)
response_stream = agent_team.run(
message=message,
stream=True,
show_full_reasoning=True,
stream_intermediate_steps=True,
stream_member_events=True,
)
for event in response_stream:
print(event.event)
TypeError: Claude.format_function_call_results() missing 1 required positional argument: 'tool_ids'
Process finished with exit code 1