Skip to main content

Crate grimoire_loader

Crate grimoire_loader 

Source
Expand description

§Grimoire Loader

Integration with the Grimoire prompt management system.

This crate provides utilities for loading personas and prompts from the Grimoire filesystem structure.

§Configuration

The Grimoire path can be configured via:

  1. Environment variable: INFERNUM_GRIMOIRE_PATH
  2. Programmatic: GrimoireLoader::with_path(path)
  3. Default: ~/.local/share/infernum/personas/

Structs§

GrimoireLoader
Loader for Grimoire personas.
GrimoirePersona
A loaded Grimoire persona.

Constants§

DEFAULT_GRIMOIRE_PATHDeprecated
Legacy constant for backwards compatibility.
GRIMOIRE_PATH_ENV
Environment variable for customizing Grimoire path.

Functions§

default_grimoire_path
Returns the default Grimoire personas path.