Code
cookbook/models/litellm_openai/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
litellm --model gpt-4o --host 127.0.0.1 --port 4000
from agno.agent import Agent, RunResponse # noqa
from agno.models.litellm import LiteLLMOpenAI
agent = Agent(model=LiteLLMOpenAI(id="gpt-4o"), markdown=True)
agent.print_response("Share a 2 sentence horror story", stream=True)
Was this page helpful?