pub struct TurnRunOptions {
pub invocation: TurnInvocation,
pub policy: TurnPolicy,
pub execution: ExecutionOptions,
pub frame: FramePolicy,
pub interaction: Arc<dyn TurnInteraction>,
}Expand description
The execution stack’s input: the four configuration axes plus the
single interaction seam. External assemblers may build any of them
independently; Default yields the placeholder/noop wiring.
Fields§
§invocation: TurnInvocationWhat the model is asked this run — see TurnInvocation.
policy: TurnPolicyWhen the loop retries or gives up — see TurnPolicy.
execution: ExecutionOptionsHow tool calls execute — see ExecutionOptions.
frame: FramePolicyFrame materialization policy for the bare-turn entries; inert for the conversation entries (lossless merged view).
interaction: Arc<dyn TurnInteraction>The one host↔driver interaction boundary for the turn. Default:
NoopInteraction — observes nothing, decides nothing.
Trait Implementations§
Source§impl Clone for TurnRunOptions
impl Clone for TurnRunOptions
Source§fn clone(&self) -> TurnRunOptions
fn clone(&self) -> TurnRunOptions
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 TurnRunOptions
impl Debug for TurnRunOptions
Auto Trait Implementations§
impl !RefUnwindSafe for TurnRunOptions
impl !UnwindSafe for TurnRunOptions
impl Freeze for TurnRunOptions
impl Send for TurnRunOptions
impl Sync for TurnRunOptions
impl Unpin for TurnRunOptions
impl UnsafeUnpin for TurnRunOptions
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