mirror of https://github.com/kortix-ai/suna.git
15 lines
381 B
Python
15 lines
381 B
Python
|
from kortix import Agent, ModelSettings, function_tool
|
||
|
|
||
|
|
||
|
agent = Agent(
|
||
|
name="Haiku agent",
|
||
|
instructions="Always respond in haiku form",
|
||
|
model="o3-mini",
|
||
|
tools=[get_weather],
|
||
|
)
|
||
|
|
||
|
assistant = client.beta.assistants.create(
|
||
|
name="Math Tutor",
|
||
|
instructions="You are a personal math tutor. Answer questions briefly, in a sentence or less.",
|
||
|
model="gpt-4o",
|
||
|
)
|