"""This example shows how to use the output_model parameter to specify the model that should be used to generate the final response."""from agno.agent import Agentfrom agno.models.anthropic import Claudefrom agno.models.openai import OpenAIChatfrom agno.team import Teamfrom agno.tools.duckduckgo import DuckDuckGoToolsitinerary_planner = Agent( name="Itinerary Planner", model=Claude(id="claude-sonnet-4-20250514"), description="You help people plan amazing vacations. Use the tools at your disposal to find latest information about the destination.", tools=[DuckDuckGoTools()],)travel_expert = Team( model=OpenAIChat(id="gpt-5-mini"), members=[itinerary_planner], output_model=OpenAIChat(id="gpt-5-mini"),)travel_expert.print_response("Plan a summer vacation in Paris", stream=True)