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/cerebras_openai/basic_stream.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.cerebras import CerebrasOpenAI
agent = Agent(
model=CerebrasOpenAI(
id="llama-4-scout-17b-16e-instruct",
),
markdown=True,
)
# Print the response in the terminal (streaming)
agent.print_response("write a two sentence horror story", stream=True)
Was this page helpful?