Slot: max_iters
Maximum number of reasoning / tool-call iterations (ReAct family).
URI: dspy:max_iters
Applicable Classes
| Name |
Description |
Modifies Slot |
| ReAct |
Reasoning + Acting agent with tool use (``dspy |
no |
| ReActV2 |
Next-generation ReAct agent (``dspy |
no |
| ProgramOfThought |
Tool-using predictor that emits and executes Python code (``dspy |
no |
| CodeAct |
Code-acting agent (``dspy |
no |
| AvatarOptimizer |
Optimizer specialized for Avatar agents (``dspy |
no |
Properties
Type and Range
Cardinality and Requirements
| Property |
Value |
| ### Value Constraints |
|
| Property |
Value |
| Minimum Value |
1 |
Schema Source
Mappings
| Mapping Type |
Mapped Value |
| self |
dspy:max_iters |
| native |
dspy:max_iters |
LinkML Source
name: max_iters
description: Maximum number of reasoning / tool-call iterations (ReAct family).
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- ReAct
- ReActV2
- ProgramOfThought
- CodeAct
- AvatarOptimizer
range: integer
minimum_value: 1