pub struct RunCheckpoint {
pub step: Option<i64>,
pub messages: Option<Vec<Map<String, Value>>>,
pub metrics: Option<Map<String, Value>>,
}Expand description
RunCheckpoint model.
Fields§
§step: Option<i64>§messages: Option<Vec<Map<String, Value>>>Conversation as it stood at this checkpoint. Left opaque: it mirrors the provider’s message shape, which differs per adapter.
metrics: Option<Map<String, Value>>Accumulated run metrics — RunMetricsAccumulator (runtime/core/step-executor.ts:156):
step and token counters, optionally provider cache hits.
Trait Implementations§
Source§impl Clone for RunCheckpoint
impl Clone for RunCheckpoint
Source§fn clone(&self) -> RunCheckpoint
fn clone(&self) -> RunCheckpoint
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 Debug for RunCheckpoint
impl Debug for RunCheckpoint
Source§impl Default for RunCheckpoint
impl Default for RunCheckpoint
Source§fn default() -> RunCheckpoint
fn default() -> RunCheckpoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunCheckpoint
impl<'de> Deserialize<'de> for RunCheckpoint
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 RunCheckpoint
impl PartialEq for RunCheckpoint
Source§impl Serialize for RunCheckpoint
impl Serialize for RunCheckpoint
impl StructuralPartialEq for RunCheckpoint
Auto Trait Implementations§
impl Freeze for RunCheckpoint
impl RefUnwindSafe for RunCheckpoint
impl Send for RunCheckpoint
impl Sync for RunCheckpoint
impl Unpin for RunCheckpoint
impl UnsafeUnpin for RunCheckpoint
impl UnwindSafe for RunCheckpoint
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