pub struct HostFacts {
pub act_scheduling: Option<ActSchedulingFacts>,
pub setup_connection_hint_enabled: bool,
pub url_elicitation_hint_enabled: bool,
pub ask_user_hint_enabled: bool,
pub ask_user_calls: Vec<(String, Value)>,
}Expand description
Host-resolved facts the engine needs but cannot fetch itself.
The host populates only the field relevant to the completed activity, doing
I/O in exactly the same conditions as the original planner:
act_scheduling only when reason_schedules_act is true, and
setup_connection_hint_enabled only when the act paused for tool results.
Fields§
§act_scheduling: Option<ActSchedulingFacts>§setup_connection_hint_enabled: bool§url_elicitation_hint_enabled: bool§ask_user_hint_enabled: bool§ask_user_calls: Vec<(String, Value)>The ask_user calls the act left pending, as (tool_call_id, arguments). Carried here rather than on ActOutcome, which is Copy
and cannot hold them. Empty unless the act paused on ask_user.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HostFacts
impl RefUnwindSafe for HostFacts
impl Send for HostFacts
impl Sync for HostFacts
impl Unpin for HostFacts
impl UnsafeUnpin for HostFacts
impl UnwindSafe for HostFacts
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