pub struct FunctionShellAction {
pub commands: Vec<String>,
pub max_output_length: Option<i64>,
pub timeout_ms: Option<i64>,
}Expand description
The shell commands and limits that describe how to run the tool call.
Fields§
§commands: Vec<String>§max_output_length: Option<i64>Optional maximum number of characters to return from each command.
timeout_ms: Option<i64>Optional timeout in milliseconds for the commands.
Trait Implementations§
Source§impl Clone for FunctionShellAction
impl Clone for FunctionShellAction
Source§fn clone(&self) -> FunctionShellAction
fn clone(&self) -> FunctionShellAction
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 moreSource§impl Debug for FunctionShellAction
impl Debug for FunctionShellAction
Source§impl<'de> Deserialize<'de> for FunctionShellAction
impl<'de> Deserialize<'de> for FunctionShellAction
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
Auto Trait Implementations§
impl Freeze for FunctionShellAction
impl RefUnwindSafe for FunctionShellAction
impl Send for FunctionShellAction
impl Sync for FunctionShellAction
impl Unpin for FunctionShellAction
impl UnsafeUnpin for FunctionShellAction
impl UnwindSafe for FunctionShellAction
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