pub struct FunctionShellCallOutputItemParam {
pub id: Option<String>,
pub call_id: String,
pub output: Vec<FunctionShellCallOutputContentParam>,
pub max_output_length: Option<u64>,
}Expand description
The streamed output items emitted by a shell tool call.
Fields§
§id: Option<String>The unique ID of the shell tool 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<FunctionShellCallOutputContentParam>Captured chunks of stdout and stderr output, along with their associated outcomes.
max_output_length: Option<u64>The maximum number of UTF-8 characters captured for this shell call’s combined output.
Trait Implementations§
Source§impl Clone for FunctionShellCallOutputItemParam
impl Clone for FunctionShellCallOutputItemParam
Source§fn clone(&self) -> FunctionShellCallOutputItemParam
fn clone(&self) -> FunctionShellCallOutputItemParam
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<'de> Deserialize<'de> for FunctionShellCallOutputItemParam
impl<'de> Deserialize<'de> for FunctionShellCallOutputItemParam
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionShellCallOutputItemParam, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionShellCallOutputItemParam, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for FunctionShellCallOutputItemParam
impl Serialize for FunctionShellCallOutputItemParam
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FunctionShellCallOutputItemParam
Auto Trait Implementations§
impl Freeze for FunctionShellCallOutputItemParam
impl RefUnwindSafe for FunctionShellCallOutputItemParam
impl Send for FunctionShellCallOutputItemParam
impl Sync for FunctionShellCallOutputItemParam
impl Unpin for FunctionShellCallOutputItemParam
impl UnsafeUnpin for FunctionShellCallOutputItemParam
impl UnwindSafe for FunctionShellCallOutputItemParam
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