pub struct ProcessUserInputBaseResult {
pub messages: Vec<Message>,
pub should_query: bool,
pub allowed_tools: Option<Vec<String>>,
pub model: Option<String>,
pub effort: Option<EffortValue>,
pub result_text: Option<String>,
pub next_input: Option<String>,
pub submit_next_input: Option<bool>,
}Expand description
Result of processing user input
Fields§
§messages: Vec<Message>Messages to be sent to the model
should_query: boolWhether a query should be made
allowed_tools: Option<Vec<String>>Allowed tools (optional)
model: Option<String>Model to use (optional)
effort: Option<EffortValue>Effort value (optional)
result_text: Option<String>Output text for non-interactive mode
next_input: Option<String>Next input to prefilling (optional)
submit_next_input: Option<bool>Whether to submit next input
Trait Implementations§
Source§impl Clone for ProcessUserInputBaseResult
impl Clone for ProcessUserInputBaseResult
Source§fn clone(&self) -> ProcessUserInputBaseResult
fn clone(&self) -> ProcessUserInputBaseResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessUserInputBaseResult
impl Debug for ProcessUserInputBaseResult
Auto Trait Implementations§
impl Freeze for ProcessUserInputBaseResult
impl RefUnwindSafe for ProcessUserInputBaseResult
impl Send for ProcessUserInputBaseResult
impl Sync for ProcessUserInputBaseResult
impl Unpin for ProcessUserInputBaseResult
impl UnsafeUnpin for ProcessUserInputBaseResult
impl UnwindSafe for ProcessUserInputBaseResult
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