new proj - o3 mini code interpreter

This commit is contained in:
Madhu 2025-02-03 00:56:22 +05:30
parent 610c8adee8
commit 76715d6e82

View 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.")