17 lines
473 B
Go
17 lines
473 B
Go
package configuration
|
|
|
|
import (
|
|
"embed"
|
|
|
|
"go.maximumdirect.net/configkit"
|
|
)
|
|
|
|
//go:embed bundled/openrouter.yaml
|
|
var bundledFiles embed.FS
|
|
|
|
// BundledOpenRouterUnderlay returns the built-in OpenRouter configuration source.
|
|
func BundledOpenRouterUnderlay() configkit.Underlay {
|
|
filesystem := configkit.NewFilesystem("Promptkit bundled OpenRouter", bundledFiles)
|
|
return configkit.Underlay{Inputs: []configkit.Input{{Source: filesystem.File("bundled/openrouter.yaml")}}}
|
|
}
|