pub struct AssistantServerToolProgressData {
pub kind: String,
pub output_index: i64,
pub status: String,
}Expand description
Session event “assistant.server_tool_progress”. Live progress signal for a provider-hosted server tool (e.g. hosted web search) while it runs, before the finalized serverTools envelope lands on the terminal assistant.message
Fields§
§kind: StringKind of hosted server tool that is running. Only web_search is emitted today.
output_index: i64Position of the hosted tool call in the response output. Stable across the call’s lifecycle events (unlike the provider’s per-event item id, which CAPI rotates), so the host keys the live in-progress row on it.
status: StringLifecycle status of the hosted call: in_progress, searching, or completed.
Trait Implementations§
Source§impl Clone for AssistantServerToolProgressData
impl Clone for AssistantServerToolProgressData
Source§fn clone(&self) -> AssistantServerToolProgressData
fn clone(&self) -> AssistantServerToolProgressData
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 Default for AssistantServerToolProgressData
impl Default for AssistantServerToolProgressData
Source§fn default() -> AssistantServerToolProgressData
fn default() -> AssistantServerToolProgressData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssistantServerToolProgressData
impl<'de> Deserialize<'de> for AssistantServerToolProgressData
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 AssistantServerToolProgressData
impl RefUnwindSafe for AssistantServerToolProgressData
impl Send for AssistantServerToolProgressData
impl Sync for AssistantServerToolProgressData
impl Unpin for AssistantServerToolProgressData
impl UnsafeUnpin for AssistantServerToolProgressData
impl UnwindSafe for AssistantServerToolProgressData
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