new proj - o3 mini code interpreter
This commit is contained in:
parent
610c8adee8
commit
76715d6e82
1 changed files with 20 additions and 0 deletions
20
ai_agent_tutorials/o3-mini-agent/main.py
Normal file
20
ai_agent_tutorials/o3-mini-agent/main.py
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
from agno.agent import Agent, RunResponse
|
||||||
|
from agno.models.openai import OpenAIChat
|
||||||
|
from agno.models.google import Gemini
|
||||||
|
import os
|
||||||
|
from dotenv import load_dotenv
|
||||||
|
load_dotenv()
|
||||||
|
|
||||||
|
vision_agent = Agent(
|
||||||
|
model=Gemini(id="gemini-2.0-flash-exp", api_key=os.getenv("GEMINI_API_KEY")),
|
||||||
|
markdown=True,
|
||||||
|
)
|
||||||
|
|
||||||
|
coding_agent = Agent(
|
||||||
|
model=OpenAIChat(id="o3-mini", api_key=os.getenv("OPENAI_API_KEY")),
|
||||||
|
markdown=True
|
||||||
|
)
|
||||||
|
|
||||||
|
# Print the response in the terminal
|
||||||
|
coding_agent.print_response("Share a 2 sentence horror story.")
|
||||||
|
|
||||||
Loading…
Reference in a new issue