Struct Atif Step

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub struct AtifStep {Show 13 fields
    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 llm_call_count: Option<u64>,
    pub is_copied_context: Option<bool>,
    pub extra: Option<Json>,
}

A single step in an ATIF trajectory.

Fields

step_id: usize

1-based ordinal step ID.

source: String

Source of the step: "system", "user", or "agent".

message: Json

The 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.

llm_call_count: Option<u64>

Number of LLM calls represented by this step.

is_copied_context: Option<bool>

Whether this step was copied from a previous trajectory for context.

extra: Option<Json>

Extra metadata.

Trait Implementations

impl Clone for AtifStep

impl Clone for AtifStep

clone

fn clone(&self) -> AtifStep

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for AtifStep

impl Debug for AtifStep

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for AtifStep

impl<'de> Deserialize<'de> for AtifStep

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl Serialize for AtifStep

impl Serialize for AtifStep

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,