From 76715d6e822733b6f12e6c43e2173f801d2ce149 Mon Sep 17 00:00:00 2001 From: Madhu Date: Mon, 3 Feb 2025 00:56:22 +0530 Subject: [PATCH] new proj - o3 mini code interpreter --- ai_agent_tutorials/o3-mini-agent/main.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ai_agent_tutorials/o3-mini-agent/main.py diff --git a/ai_agent_tutorials/o3-mini-agent/main.py b/ai_agent_tutorials/o3-mini-agent/main.py new file mode 100644 index 0000000..cf21706 --- /dev/null +++ b/ai_agent_tutorials/o3-mini-agent/main.py @@ -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.") +