Code
cookbook/models/litellm/basic_stream.py
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
from agno.agent import Agent
from agno.models.litellm import LiteLLM
openai_agent = Agent(
model=LiteLLM(
id="gpt-4o",
name="LiteLLM",
),
markdown=True,
)
openai_agent.print_response("Share a 2 sentence horror story", stream=True)
Was this page helpful?