pub struct ExecutionOptions {
pub tool_output_limits: ToolOutputLimits,
pub tool_output_limits_overrides: HashMap<String, ToolOutputLimits>,
pub artifact_store: Option<Arc<dyn ArtifactStore>>,
pub token_counter: Option<Arc<dyn TokenCounter>>,
pub call_timeout: Option<Duration>,
}Expand description
Execution options — how tool calls run inside a round.
Fields§
§tool_output_limits: ToolOutputLimitsFallback per-output token limit for truncation; a per-tool-name
entry in tool_output_limits_overrides replaces it (even with a
larger value — the override is the chosen limit, not a cap).
tool_output_limits_overrides: HashMap<String, ToolOutputLimits>Per-tool-name limit overrides, keyed by the actual executed tool name (full namespace name for dynamic tools). A name not yet present in a dynamic catalog may still be configured here; the entry applies once that name executes.
artifact_store: Option<Arc<dyn ArtifactStore>>Where a truncated output’s full bytes are spilled as an artifact;
None = truncate without a retrievable original.
token_counter: Option<Arc<dyn TokenCounter>>Counter used for tool-output truncation estimation.
call_timeout: Option<Duration>Per-tool-call deadline; None = unbounded call (backstop still
applies if the turn carries a deadline).
Trait Implementations§
Source§impl Clone for ExecutionOptions
impl Clone for ExecutionOptions
Source§fn clone(&self) -> ExecutionOptions
fn clone(&self) -> ExecutionOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutionOptions
impl Debug for ExecutionOptions
Source§impl Default for ExecutionOptions
impl Default for ExecutionOptions
Source§fn default() -> ExecutionOptions
fn default() -> ExecutionOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutionOptions
impl !UnwindSafe for ExecutionOptions
impl Freeze for ExecutionOptions
impl Send for ExecutionOptions
impl Sync for ExecutionOptions
impl Unpin for ExecutionOptions
impl UnsafeUnpin for ExecutionOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more