Skip to main content
ExampleDescription
BasicCookbook example for xiaomi/basic.py.
String ModelCreate an agent from the xiaomi:<model-id> string shorthand.
Tool UseWeb search while thinking mode is on.
Structured OutputReturn a typed Pydantic object via JSON mode.
Thinking ModeToggle thinking on/off with the use_thinking flag.
Reasoning AgentSolve a logic puzzle with thinking mode on.