RetrievalConfiguration
¶
Used by
-
AsyncContextClient Operationsagentic_retrieve -
ContextClient Operationsagentic_retrieve
Source code in docs_src/capo_context/types/retrieval_configuration.py
max_iterations
instance-attribute
¶
max_iterations: NotRequired[int]
The maximum number of agent turns, from 2 to 50. One turn is roughly one round of tool calls and their results. If you omit it, AWS Context uses 30. The minimum is 2, because the agent needs at least one planning turn and one acting turn.