#[non_exhaustive]pub struct ExecutionParams {
pub max_api_calls_per_turn: u32,
}Expand description
Execution limits a scene imposes on its own turns.
Tool-call fan-out (max_parallelism) and delegation depth
(max_agent_depth) are deliberately not here: both are bounded by
EngineConfig, which is derived from Settings, not from the scene, and a
scene that wants a different bound changes that config.
What is here is honoured — see runtime::turn’s max_calls.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_api_calls_per_turn: u32Ceiling on LLM round trips within a single turn for this scene.
Combined with Settings.turn.max_model_calls by taking
the lower of the two: a scene declaring a tight loop budget is
making a statement about its own workload that a deployment-wide
setting should not be able to silently widen, and a deployment that
wants to be stricter than the scene still gets its way.
Defaults to no ceiling, so a scene that says nothing lets the setting
decide. Defaulting to the setting’s own number would turn the min
into a silent clamp: an operator raising the setting for a
long-running task would get the scene’s number back.