Struct Agent Skill Config
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub struct AgentSkillConfig {
pub paths: Vec<PathBuf>,
pub directories: Option<Vec<SkillDirectory>>,
pub bundled: Option<BundledSkills>,
pub duplicates: Option<SkillDuplicatePolicy>,
pub extensions: BTreeMap<String, Value>,
}
Skills made available to an adapter target.
A non-null directories requires an empty paths, and a non-null duplicates requires a non-null directories; null reads as omitted.
Fields
paths: Vec<PathBuf>
Skill paths resolved for the task environment.
directories: Option<Vec<SkillDirectory>>
Structured skill entries with paths resolved by NeMo Fabric. Sent only to adapters that declare skills.directory_loading; an empty list loads no external skills.
bundled: Option<BundledSkills>
Bundled-skill selection. Sent only to adapters that declare the requested skills.bundled operation.
duplicates: Option<SkillDuplicatePolicy>
Duplicate-name policy between directories entries. Sent only to adapters that declare the policy in skills.duplicates.
extensions: BTreeMap<String, Value>
Adapter-owned skill fields.
Trait Implementations
impl Clone for AgentSkillConfig
impl Clone for AgentSkillConfig
clone
fn clone(&self) -> Self
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for AgentSkillConfig
impl Debug for AgentSkillConfig
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for AgentSkillConfig
impl Default for AgentSkillConfig
default
fn default() -> Self
impl<'de> Deserialize<'de> for AgentSkillConfig
impl<'de> Deserialize<'de> for AgentSkillConfig
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for AgentSkillConfig
impl JsonSchema for AgentSkillConfig
schema_name
fn schema_name() -> Cow<'static, str>
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
inline_schema
fn inline_schema() -> bool
impl PartialEq for AgentSkillConfig
impl PartialEq for AgentSkillConfig
eq
fn eq(&self, other: &Self) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for AgentSkillConfig
impl Serialize for AgentSkillConfig
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for AgentSkillConfig
impl StructuralPartialEq for AgentSkillConfig