pub struct ShellCall {
pub action: ShellCallAction,
pub call_id: String,
pub type_: String,
pub id: Option<String>,
pub environment: Option<ShellCallEnvironment>,
pub status: Option<ShellCallStatus>,
}Expand description
A tool representing a request to execute one or more shell commands.
Fields§
§action: ShellCallActionThe shell commands and limits that describe how to run the tool call.
call_id: StringThe unique ID of the shell tool call generated by the model.
type_: StringThe type of the item. Always shell_call.
id: Option<String>The unique ID of the shell tool call.
environment: Option<ShellCallEnvironment>The environment to execute the shell commands in.
status: Option<ShellCallStatus>The status of the shell call.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ShellCall
impl<'de> Deserialize<'de> for ShellCall
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 ShellCall
impl RefUnwindSafe for ShellCall
impl Send for ShellCall
impl Sync for ShellCall
impl Unpin for ShellCall
impl UnsafeUnpin for ShellCall
impl UnwindSafe for ShellCall
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