pub struct AtifStep {
pub step_id: usize,
pub source: String,
pub message: Json,
pub timestamp: Option<String>,
pub model_name: Option<String>,
pub reasoning_effort: Option<Json>,
pub reasoning_content: Option<String>,
pub tool_calls: Option<Vec<AtifToolCall>>,
pub observation: Option<AtifObservation>,
pub metrics: Option<AtifMetrics>,
pub is_copied_context: Option<bool>,
pub extra: Option<Json>,
}Expand description
A single step in an ATIF trajectory.
Fields§
§step_id: usize1-based ordinal step ID.
source: StringSource of the step: "system", "user", or "agent".
message: JsonThe message content (string or array of content parts).
timestamp: Option<String>ISO 8601 timestamp.
model_name: Option<String>LLM model name, if applicable.
reasoning_effort: Option<Json>Qualitative or quantitative measure of reasoning effort.
reasoning_content: Option<String>The agent’s explicit internal reasoning.
tool_calls: Option<Vec<AtifToolCall>>Tool calls made by the agent in this step.
observation: Option<AtifObservation>Observation (tool results) for this step.
metrics: Option<AtifMetrics>Token usage and cost metrics.
is_copied_context: Option<bool>Whether this step was copied from a previous trajectory for context.
extra: Option<Json>Extra metadata.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AtifStep
impl<'de> Deserialize<'de> for AtifStep
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 AtifStep
impl RefUnwindSafe for AtifStep
impl Send for AtifStep
impl Sync for AtifStep
impl Unpin for AtifStep
impl UnsafeUnpin for AtifStep
impl UnwindSafe for AtifStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request