Skip to main content

FileReferences

Trait FileReferences 

Source
pub trait FileReferences:
    Send
    + Sync
    + 'static {
    // Required method
    fn files(&self, output: &str) -> Vec<String>;
}
Expand description

Finds the files a tool result names, for the handoff’s file index.

What counts as a file the model may want restored after a compaction is the embedder’s decision: aither knows nothing of the paths its tools print. An agent built without one indexes nothing.

Required Methods§

Source

fn files(&self, output: &str) -> Vec<String>

The files output, one tool result, names: paths or URLs the restoration can read back.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§