pub struct Outcome<'a> {
pub session: &'a str,
pub tool: &'a str,
pub output: &'a str,
pub is_error: bool,
pub malformed: bool,
}Expand description
A tool result, before the model sees it.
Fields§
§session: &'a str§tool: &'a str§output: &'a str§is_error: bool§malformed: boolThe call could not even be attempted: unknown tool, or arguments that are not JSON.
Auto Trait Implementations§
impl<'a> Forget for Outcome<'a>
impl<'a> Freeze for Outcome<'a>
impl<'a> Move for Outcome<'a>
impl<'a> RefUnwindSafe for Outcome<'a>
impl<'a> Send for Outcome<'a>
impl<'a> Sync for Outcome<'a>
impl<'a> Unpin for Outcome<'a>
impl<'a> UnsafeUnpin for Outcome<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for Outcome<'a>where
&'a str: 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