skilltool

package
v0.137.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package skilltool provides snapshot-backed skill activation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(_ []string, provider SkillProvider, keepEmpty ...bool) fantasy.AgentTool

New retains activation state even when the catalogue is empty. The agent calls Snapshot before wrapping tools for each model request.

Types

type SkillProvider

type SkillProvider func() []*skills.Skill

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL