This example demonstrates how it works when you pass a non-reasoning model as a reasoning model.
It defaults to using the default OpenAI reasoning model.
We recommend using the appropriate reasoning model or passing reasoning=True to use the default Chain-of-Thought reasoning.
from agno.agent import Agentfrom agno.models.openai import OpenAIChatreasoning_agent = Agent( model=OpenAIChat(id="gpt-4o"), reasoning_model=OpenAIChat( id="gpt-4o", max_tokens=1200 ), # Should default to manual COT because it is not a native reasoning model markdown=True,)reasoning_agent.print_response( "Give me steps to write a python script for fibonacci series", stream=True, show_full_reasoning=True,)# It uses the default model of the Agentreasoning_agent = Agent( model=OpenAIChat(id="gpt-4o", max_tokens=1200), reasoning=True, markdown=True,)reasoning_agent.print_response( "Give me steps to write a python script for fibonacci series", stream=True, show_full_reasoning=True,)