Add the OpenRouter catalog module
This commit is contained in:
19
catalog.go
Normal file
19
catalog.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// Package openrouter supplies immutable OpenRouter catalog assets for
|
||||
// Promptkit. It does not implement provider behavior or runtime configuration.
|
||||
package openrouter
|
||||
|
||||
import (
|
||||
"embed"
|
||||
"io/fs"
|
||||
)
|
||||
|
||||
// Root is the filesystem root containing this module's catalog assets.
|
||||
const Root = "catalog"
|
||||
|
||||
//go:embed catalog
|
||||
var catalogFS embed.FS
|
||||
|
||||
// FS returns the immutable embedded filesystem containing the catalog assets.
|
||||
func FS() fs.FS {
|
||||
return catalogFS
|
||||
}
|
||||
Reference in New Issue
Block a user