pub struct FunctionShellCallOutput {
pub id: String,
pub call_id: String,
pub output: Vec<FunctionShellCallOutputContent>,
pub max_output_length: Option<u64>,
pub created_by: Option<String>,
}Available on crate feature
response-types only.Expand description
The output of a shell tool call.
Fields§
§id: StringThe unique ID of the shell call output. Populated when this item is returned via API.
call_id: StringThe unique ID of the shell tool call generated by the model.
output: Vec<FunctionShellCallOutputContent>An array of shell call output contents
max_output_length: Option<u64>The maximum length of the shell command output. This is generated by the model and should be passed back with the raw output.
created_by: Option<String>Trait Implementations§
Source§impl Clone for FunctionShellCallOutput
impl Clone for FunctionShellCallOutput
Source§fn clone(&self) -> FunctionShellCallOutput
fn clone(&self) -> FunctionShellCallOutput
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 FunctionShellCallOutput
impl Debug for FunctionShellCallOutput
Source§impl<'de> Deserialize<'de> for FunctionShellCallOutput
impl<'de> Deserialize<'de> for FunctionShellCallOutput
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 FunctionShellCallOutput
impl PartialEq for FunctionShellCallOutput
Source§impl Serialize for FunctionShellCallOutput
impl Serialize for FunctionShellCallOutput
impl StructuralPartialEq for FunctionShellCallOutput
Auto Trait Implementations§
impl Freeze for FunctionShellCallOutput
impl RefUnwindSafe for FunctionShellCallOutput
impl Send for FunctionShellCallOutput
impl Sync for FunctionShellCallOutput
impl Unpin for FunctionShellCallOutput
impl UnwindSafe for FunctionShellCallOutput
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