Documentation
¶
Overview ¶
Package memory exposes Leros built-in memory as a runtime tool.
Index ¶
Constants ¶
View Source
const (
// ToolNameMemory is the stable runtime tool name for built-in memory.
ToolNameMemory = "memory"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tool ¶
Tool lets the agent manage built-in USER.md and MEMORY.md files.
func NewTool ¶
func NewTool() *Tool
NewTool creates the built-in memory tool with the default local store.
func NewToolWithStore ¶
func NewToolWithStore(store *localmemory.Store) *Tool
NewToolWithStore creates the built-in memory tool with an explicit store.
Click to show internal directories.
Click to hide internal directories.