pub struct ToolOutcome {
pub output: String,
pub is_error: bool,
pub malformed: bool,
pub deferred: bool,
}Fields§
§output: String§is_error: bool§malformed: boolThe call could not even be attempted: an unknown tool, or arguments that are not JSON.
The model still reads output, and the loop counts these to spot a model that is
looping rather than working.
deferred: boolNobody answered the approval gate, so the call did not run and must not be recorded as if it had. The loop stops the turn and keeps the call as pending; a caller that ignores this would show the model a result for work that never happened.
Trait Implementations§
Source§impl Clone for ToolOutcome
impl Clone for ToolOutcome
Source§impl Debug for ToolOutcome
impl Debug for ToolOutcome
impl Eq for ToolOutcome
Source§impl PartialEq for ToolOutcome
impl PartialEq for ToolOutcome
impl StructuralPartialEq for ToolOutcome
Auto Trait Implementations§
impl Forget for ToolOutcome
impl Freeze for ToolOutcome
impl Move for ToolOutcome
impl RefUnwindSafe for ToolOutcome
impl Send for ToolOutcomewhere
RawVecInner: Send,
impl Sync for ToolOutcomewhere
RawVecInner: Sync,
impl Unpin for ToolOutcome
impl UnsafeUnpin for ToolOutcome
impl UnwindSafe for ToolOutcomewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.