pub struct AttachedSkills {
pub catalog: String,
pub runtime: Arc<dyn ToolRuntime>,
pub grants: Vec<SkillToolGrant>,
}Expand description
What the skills an agent lists resolve to for one run.
Fields§
§catalog: StringCatalog for the system prompt: how to load a skill, then one line per skill. Empty when no listed skill is enabled.
runtime: Arc<dyn ToolRuntime>The skill tools, scoped to the attached skills.
grants: Vec<SkillToolGrant>Tools granted to the attached skills.
Implementations§
Trait Implementations§
Source§impl Clone for AttachedSkills
impl Clone for AttachedSkills
Auto Trait Implementations§
impl !RefUnwindSafe for AttachedSkills
impl !UnwindSafe for AttachedSkills
impl Forget for AttachedSkills
impl Freeze for AttachedSkills
impl Move for AttachedSkills
impl Send for AttachedSkills
impl Sync for AttachedSkills
impl Unpin for AttachedSkills
impl UnsafeUnpin for AttachedSkills
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