Make shared prompt filesystem composition generic

This commit is contained in:
2026-07-06 17:10:59 +00:00
parent 223f3751e8
commit 68b426cdb0
5 changed files with 112 additions and 42 deletions

View File

@@ -18,7 +18,7 @@ func RegisterPromptAssets(registry *llm.AssetRegistry) error {
{Name: "dnd.spells.yaml", Path: "assets/prompts/dnd.spells.yaml"},
{Name: "task.md", Path: "assets/prompts/task.md"},
{Name: "instructions.md", Path: "assets/prompts/instructions.md"},
})
}, sharedassets.SharedPromptFiles()...)
if err != nil {
return fmt.Errorf("prepare spell prompt assets: %w", err)
}