pub struct ResponseCustomToolCallInputDeltaEvent {
pub delta: String,
pub item_id: String,
pub output_index: i64,
pub sequence_number: i64,
pub type_: ResponseCustomToolCallInputDeltaEventType,
}Expand description
Event representing a delta (partial update) to the input of a custom tool call.
JSON schema
{
"title": "ResponseCustomToolCallInputDelta",
"description": "Event representing a delta (partial update) to the input of a custom tool call.\n",
"type": "object",
"required": [
"delta",
"item_id",
"output_index",
"sequence_number",
"type"
],
"properties": {
"delta": {
"description": "The incremental input data (delta) for the custom tool call.",
"type": "string"
},
"item_id": {
"description": "Unique identifier for the API item associated with this event.",
"type": "string"
},
"output_index": {
"description": "The index of the output this delta applies to.",
"type": "integer"
},
"sequence_number": {
"description": "The sequence number of this event.",
"type": "integer"
},
"type": {
"description": "The event type identifier.",
"type": "string",
"enum": [
"response.custom_tool_call_input.delta"
],
"x-stainless-const": true
}
},
"x-oaiMeta": {
"group": "responses",
"name": "response.custom_tool_call_input.delta"
}
}Fields§
§delta: StringThe incremental input data (delta) for the custom tool call.
item_id: StringUnique identifier for the API item associated with this event.
output_index: i64The index of the output this delta applies to.
sequence_number: i64The sequence number of this event.
type_: ResponseCustomToolCallInputDeltaEventTypeThe event type identifier.
Trait Implementations§
Source§impl Clone for ResponseCustomToolCallInputDeltaEvent
impl Clone for ResponseCustomToolCallInputDeltaEvent
Source§fn clone(&self) -> ResponseCustomToolCallInputDeltaEvent
fn clone(&self) -> ResponseCustomToolCallInputDeltaEvent
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 ResponseCustomToolCallInputDeltaEvent
impl<'de> Deserialize<'de> for ResponseCustomToolCallInputDeltaEvent
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 From<ResponseCustomToolCallInputDeltaEvent> for ResponseStreamEvent
impl From<ResponseCustomToolCallInputDeltaEvent> for ResponseStreamEvent
Source§fn from(value: ResponseCustomToolCallInputDeltaEvent) -> Self
fn from(value: ResponseCustomToolCallInputDeltaEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseCustomToolCallInputDeltaEvent
impl RefUnwindSafe for ResponseCustomToolCallInputDeltaEvent
impl Send for ResponseCustomToolCallInputDeltaEvent
impl Sync for ResponseCustomToolCallInputDeltaEvent
impl Unpin for ResponseCustomToolCallInputDeltaEvent
impl UnsafeUnpin for ResponseCustomToolCallInputDeltaEvent
impl UnwindSafe for ResponseCustomToolCallInputDeltaEvent
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