pub enum UnknownOutcomePolicy {
Stop,
Continue,
}Expand description
Component vocabulary for the action taken after an
UnknownOutcome tool result is committed. It is configuration and saved
host-decision data, not tool vocabulary and not a fact: the recorded
result is committed verbatim either way, Stop merely interrupts the
turn before the next model call, and Continue only allows the next
round — it never re-runs the call, never rewrites the result into a
success, and never cancels sibling calls.
Variants§
Stop
Treat the unknown outcome as unsafe: the turn interrupts rather than continue on an unverifiable result (the default).
Continue
Keep the turn alive; the UnknownOutcome result still lands in the
transcript.
Trait Implementations§
Source§impl Clone for UnknownOutcomePolicy
impl Clone for UnknownOutcomePolicy
Source§fn clone(&self) -> UnknownOutcomePolicy
fn clone(&self) -> UnknownOutcomePolicy
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 moreimpl Copy for UnknownOutcomePolicy
Source§impl Debug for UnknownOutcomePolicy
impl Debug for UnknownOutcomePolicy
Source§impl Default for UnknownOutcomePolicy
impl Default for UnknownOutcomePolicy
Source§fn default() -> UnknownOutcomePolicy
fn default() -> UnknownOutcomePolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnknownOutcomePolicy
impl<'de> Deserialize<'de> for UnknownOutcomePolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UnknownOutcomePolicy
Source§impl PartialEq for UnknownOutcomePolicy
impl PartialEq for UnknownOutcomePolicy
Source§impl Serialize for UnknownOutcomePolicy
impl Serialize for UnknownOutcomePolicy
impl StructuralPartialEq for UnknownOutcomePolicy
Auto Trait Implementations§
impl Freeze for UnknownOutcomePolicy
impl RefUnwindSafe for UnknownOutcomePolicy
impl Send for UnknownOutcomePolicy
impl Sync for UnknownOutcomePolicy
impl Unpin for UnknownOutcomePolicy
impl UnsafeUnpin for UnknownOutcomePolicy
impl UnwindSafe for UnknownOutcomePolicy
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