Skip to content

StreamRetrievalConfiguration

Source code in docs_src/capo_context/types/stream_retrieval_configuration.py
6
7
8
class StreamRetrievalConfiguration(TypedDict, closed=True):
    max_iterations: NotRequired["int"]
    """<p>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.</p>"""

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.