-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aaf7be3
commit bca7ba3
Showing
10 changed files
with
18 additions
and
40 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
cookbook/models/openai/o1/o1_mini_stream.py → ...models/openai/reasoning/o3_mini_stream.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
from typing import Iterator # noqa | ||
from agno.agent import Agent, RunResponse # noqa | ||
from agno.agent import Agent | ||
from agno.models.openai import OpenAIChat | ||
|
||
agent = Agent(model=OpenAIChat(id="o1-mini")) | ||
agent = Agent(model=OpenAIChat(id="o3-mini")) | ||
|
||
# Print the response in the terminal | ||
agent.print_response("What is the closest galaxy to milky way?", stream=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from typing import Iterator # noqa | ||
from agno.agent import Agent, RunResponse # noqa | ||
from agno.models.openai import OpenAIChat | ||
from agno.tools.duckduckgo import DuckDuckGoTools | ||
|
||
agent = Agent( | ||
model=OpenAIChat(id="o3-mini"), | ||
tools=[DuckDuckGoTools()], | ||
show_tool_calls=True, | ||
markdown=True, | ||
) | ||
|
||
# Print the response in the terminal | ||
agent.print_response("Whats happening in France?", stream=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters