package register

import (
	"fmt"
	"io/fs"

	rootassets "gitea.maximumdirect.net/eric/notarius/assets"
	"gitea.maximumdirect.net/eric/notarius/internal/framework/llm"
)

func registerFallbackProfiles(assets *llm.AssetRegistry) error {
	profiles, err := fs.Sub(rootassets.FS(), "dnd/profiles")
	if err != nil {
		return fmt.Errorf("scope D&D fallback profiles: %w", err)
	}
	return assets.RegisterFallbackProfileFS(profiles, ".")
}
