pub struct AssistantTurnRetryData {
pub model: Option<String>,
pub reason: Option<String>,
pub turn_id: String,
}Expand description
Session event “assistant.turn_retry”. Metadata for an additional model inference attempt within an existing assistant turn
Fields§
§model: Option<String>Model identifier used for this retry, when known
reason: Option<String>Provider or runtime classification that caused the retry, when known
turn_id: StringIdentifier of the turn whose model inference is being retried
Trait Implementations§
Source§impl Clone for AssistantTurnRetryData
impl Clone for AssistantTurnRetryData
Source§impl Debug for AssistantTurnRetryData
impl Debug for AssistantTurnRetryData
Source§impl Default for AssistantTurnRetryData
impl Default for AssistantTurnRetryData
Source§impl<'de> Deserialize<'de> for AssistantTurnRetryData
impl<'de> Deserialize<'de> for AssistantTurnRetryData
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 AssistantTurnRetryData
impl RefUnwindSafe for AssistantTurnRetryData
impl Send for AssistantTurnRetryData
impl Sync for AssistantTurnRetryData
impl Unpin for AssistantTurnRetryData
impl UnsafeUnpin for AssistantTurnRetryData
impl UnwindSafe for AssistantTurnRetryData
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