pub struct FunctionShellActionParam {
pub commands: Vec<String>,
pub timeout_ms: Option<u64>,
pub max_output_length: Option<u64>,
}Available on crate feature
response-types only.Expand description
Commands and limits describing how to run the function shell tool call.
Fields§
§commands: Vec<String>Ordered shell commands for the execution environment to run.
timeout_ms: Option<u64>Maximum wall-clock time in milliseconds to allow the shell commands to run.
max_output_length: Option<u64>Maximum number of UTF-8 characters to capture from combined stdout and stderr output.
Trait Implementations§
Source§impl Clone for FunctionShellActionParam
impl Clone for FunctionShellActionParam
Source§fn clone(&self) -> FunctionShellActionParam
fn clone(&self) -> FunctionShellActionParam
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 FunctionShellActionParam
impl Debug for FunctionShellActionParam
Source§impl<'de> Deserialize<'de> for FunctionShellActionParam
impl<'de> Deserialize<'de> for FunctionShellActionParam
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
Source§impl PartialEq for FunctionShellActionParam
impl PartialEq for FunctionShellActionParam
Source§impl Serialize for FunctionShellActionParam
impl Serialize for FunctionShellActionParam
impl StructuralPartialEq for FunctionShellActionParam
Auto Trait Implementations§
impl Freeze for FunctionShellActionParam
impl RefUnwindSafe for FunctionShellActionParam
impl Send for FunctionShellActionParam
impl Sync for FunctionShellActionParam
impl Unpin for FunctionShellActionParam
impl UnwindSafe for FunctionShellActionParam
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