Skip to main content

load_agents_dir

Function load_agents_dir 

Source
pub fn load_agents_dir(dir: &Path) -> (Vec<AgentDef>, Vec<LoadError>)
Expand description

Every <dir>/*.md (sorted by file name). Bad files become errors; the rest still load. A missing dir is simply empty. Later files with an existing name are reported and skipped.