Enable Thinking
Custom Configuration
str | Model
Model for the thinking phase. Defaults to the agent’s model.
str
Custom prompt for the thinking phase.
How It Works
- Before calling the main model, the agent runs a thinking phase.
- The thinking model receives the user message, system prompt, and available tool descriptions.
- It produces reasoning steps (analysis, plan, considerations).
- These steps are injected into the system prompt for the main model call.
- The main model generates its response with the reasoning context.