Struct Atif Section Config

View as Markdown

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

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>,
}

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 {session_id} placeholder in AtifSectionConfig::filename_template is required 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. {session_id} is replaced with the top-level trajectory scope UUID. When storage is non-empty, the rendered filename is appended to each backend’s key prefix.

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.

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,