Struct ResolvedIo
pub struct ResolvedIo<'a> {
pub tools_registry: &'a [Box<dyn Tool>],
pub observer: &'a dyn Observer,
pub silent: bool,
pub approval: Option<&'a ApprovalManager>,
pub multimodal_config: &'a MultimodalConfig,
pub config: Option<&'a Config>,
pub hooks: Option<&'a HookRunner>,
pub activated_tools: Option<&'a Arc<Mutex<ActivatedToolSet>>>,
pub model_switch_callback: Option<ModelSwitchCallback>,
pub receipt_generator: Option<&'a ReceiptGenerator>,
}Expand description
The per-turn I/O wiring half of ResolvedAgentExecution::resolve’s input:
the borrowed sinks, channels, and policy handles a path holds for the turn.
A grouped input layer (not stored state); resolve spreads it into the bundle.
Fields§
§tools_registry: &'a [Box<dyn Tool>]§observer: &'a dyn Observer§silent: bool§approval: Option<&'a ApprovalManager>§multimodal_config: &'a MultimodalConfig§config: Option<&'a Config>Full config for vision-route provider-alias resolution; None on
configless (test) paths. See ResolvedAgentExecution::config.
hooks: Option<&'a HookRunner>§activated_tools: Option<&'a Arc<Mutex<ActivatedToolSet>>>§model_switch_callback: Option<ModelSwitchCallback>§receipt_generator: Option<&'a ReceiptGenerator>Auto Trait Implementations§
impl<'a> Freeze for ResolvedIo<'a>
impl<'a> !RefUnwindSafe for ResolvedIo<'a>
impl<'a> Send for ResolvedIo<'a>
impl<'a> Sync for ResolvedIo<'a>
impl<'a> Unpin for ResolvedIo<'a>
impl<'a> UnsafeUnpin for ResolvedIo<'a>
impl<'a> !UnwindSafe for ResolvedIo<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more