from polos import Agent, max_steps, MaxStepsConfig
chat_assistant = Agent(
id="chat_assistant",
provider="openai",
model="gpt-4o-mini",
system_prompt="""You are a friendly assistant. You can:
- Tell the current time using get_current_time
- Get weather using get_weather
- Perform calculations using calculator""",
tools=[get_current_time, get_weather, calculator],
stop_conditions=[max_steps(MaxStepsConfig(limit=10))],
)