Documentation Index
Fetch the complete documentation index at: https://docs-v1.agno.com/llms.txt
Use this file to discover all available pages before exploring further.
Code
cookbook/models/litellm/basic_gpt.py
You are viewing v1 docs. For the latest documentation, visit docs.agno.com
Documentation Index
Fetch the complete documentation index at: https://docs-v1.agno.com/llms.txt
Use this file to discover all available pages before exploring further.
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")
Was this page helpful?