from polos import Agent, max_steps, MaxStepsConfig
weather_agent = Agent(
id="weather_agent",
provider="openai",
model="gpt-4o-mini",
system_prompt="You are a weather assistant. Use the get_weather tool to look up weather.",
tools=[get_weather],
stop_conditions=[max_steps(MaxStepsConfig(limit=10))],
)