Skip to main content

SkillsConfig

Defined in the config module.
Rust AI Agent SDK Configuration for agent skills

Fields

NameTypeDescription
pathsVec<String>Direct skill paths
dirsVec<String>Directories to scan for skills
auto_discoverboolAuto-discover from default locations

Methods

new

fn new() -> Self
Create a new skills config

path

fn path(mut self, path: impl Into<String>) -> Self
Add a skill path Parameters:
NameType
pathimpl Into&lt;String&gt;

dir

fn dir(mut self, dir: impl Into<String>) -> Self
Add a skills directory Parameters:
NameType
dirimpl Into&lt;String&gt;

auto_discover

fn auto_discover(mut self) -> Self
Enable auto-discovery

Source

View on GitHub

praisonai/src/config.rs at line 870