Skip to navigation

Struct Atif Section Config

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct AtifSectionConfig {
    pub enabled: bool,
    pub agent_name: String,
    pub agent_version: String,
    pub model_name: String,
    pub tool_definitions: Option<Vec<Value>>,
    pub extra: Option<Value>,
    pub output_directory: Option<PathBuf>,
    pub filename_template: String,
    pub storage: Vec<AtifStorageConfig>,
    pub include_observed_events: bool,
    pub include_llm_requests: bool,
}

Per-trajectory ATIF exporter config.

When enabled, this section creates a dispatcher that opens a separate crate::observability::atif::AtifExporter for each top-level agent or turn scope. The historical {session_id} placeholder in AtifSectionConfig::filename_template expands to the trajectory scope UUID so concurrent sibling trajectories cannot overwrite each other’s files.

Fields

enabled: bool

Whether ATIF export is active.

agent_name: String

Human-readable agent name.

agent_version: String

Agent version string.

model_name: String

Default model name.

tool_definitions: Option<Vec<Value>>

Tool definitions available to the agent.

extra: Option<Value>

Extra ATIF agent metadata.

output_directory: Option<PathBuf>

Directory containing trajectory JSON files. Ignored when storage is non-empty.

filename_template: String

Filename template. The historical {session_id} placeholder is always replaced with the top-level trajectory scope UUID. {metadata.<path>:-fallback} placeholders sanitize strings from the top-level scope metadata into path-safe filename fragments or use the optional literal fallback. When [storage] is non-empty, the rendered filename is appended to each backend’s key prefix. [storage]: Self::storage

storage: Vec<AtifStorageConfig>

Optional list of remote storage destinations. When non-empty, completed trajectories are uploaded to every configured backend instead of being written locally; the local file write at output_directory is skipped. Backends are independent: an upload failure on one destination is recorded against that destination and skipped on subsequent trajectories, while the other destinations continue to receive writes.

include_observed_events: bool

Keep raw events in extra.observed_events. Defaults to true.

include_llm_requests: bool

Keep full provider requests in step extra.llm_request fields. Defaults to true.

Trait Implementations

impl Clone for AtifSectionConfig

impl Clone for AtifSectionConfig

clone

fn clone(&self) -> AtifSectionConfig

clone_from

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

impl Debug for AtifSectionConfig

impl Debug for AtifSectionConfig

fmt

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

impl Default for AtifSectionConfig

impl Default for AtifSectionConfig

default

fn default() -> Self

impl<'de> Deserialize<'de> for AtifSectionConfig

impl<'de> Deserialize<'de> for AtifSectionConfig

deserialize

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

impl EditorConfig for AtifSectionConfig

impl EditorConfig for AtifSectionConfig

editor_schema

fn editor_schema() -> &'static EditorSchema

impl Serialize for AtifSectionConfig

impl Serialize for AtifSectionConfig

serialize

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