Find answers from the community

Updated 3 weeks ago

O3

@Logan M how did I use o1 or o3 as an agent in the workflow agent system? Do you guys have an example?
L
c
8 comments
Don't you just set the llm to o3-mini?

llm=OpenAI(model="o3-mini") ?
@Logan M I guess so, but I am trying to understand how to use this as one of the agents in the multi agent work flow where you have a “can hand off to“ attribute
O3 and o1 are not function calling agents so just curious maybe I am going down the wrong path using this approach
Other models can use ReActAgent instead of FunctionAgent

Plain Text
from llama_index.core.agent.workflow import AgentWorkflow, ReActAgent, FunctionAgent

agent1 = FunctionAgent(..., llm=OpenAI(model="o3-mini"))
agent2 = ReActAgent(..., llm=SomeOtherLLM())

agent = AgentWorkflow(agents=[agent1, agent2], ...)
Ok thanks @Logan M ! I did not realize o3 has that capability
Add a reply
Sign up and join the conversation on Discord