
exponential_backoff=True and to change delay_between_retries to a value in seconds (defaults to 1 second).
For example:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
You are viewing v1 docs. For the latest documentation, visit docs.agno.com

exponential_backoff=True and to change delay_between_retries to a value in seconds (defaults to 1 second).
For example:
from agno.agent import Agent
from agno.models.openai import OpenAIChat
agent = Agent(
model=OpenAIChat(id="gpt-4o"),
description="You are an enthusiastic news reporter with a flair for storytelling!",
markdown=True,
exponential_backoff=True,
delay_between_retries=2
)
agent.print_response("Tell me about a breaking news story from New York.", stream=True)
Was this page helpful?