pub struct SkillRegistry { /* private fields */ }Expand description
Registry that manages loaded skills.
Implementations§
Source§impl SkillRegistry
impl SkillRegistry
pub fn new() -> Self
Sourcepub fn system_prompt_additions(&self) -> String
pub fn system_prompt_additions(&self) -> String
Collect system prompt fragments from all skills.
Sourcepub async fn init_all(&self) -> Result<(), SynapticError>
pub async fn init_all(&self) -> Result<(), SynapticError>
Initialize all skills.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SkillRegistry
impl !RefUnwindSafe for SkillRegistry
impl Send for SkillRegistry
impl Sync for SkillRegistry
impl Unpin for SkillRegistry
impl UnsafeUnpin for SkillRegistry
impl !UnwindSafe for SkillRegistry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more