Add prototype testing overlay configuration
This commit is contained in:
@@ -31,8 +31,9 @@ type LLMConfig struct {
|
||||
OperationTimeout time.Duration `yaml:"operation_timeout"`
|
||||
}
|
||||
|
||||
func loadConfig(source ck.Source, overrides ...ck.Override) (*ck.Result[Config], error) {
|
||||
func loadConfig(source ck.Source, overlay string, overrides ...ck.Override) (*ck.Result[Config], error) {
|
||||
return ck.Load(source, ck.Options[Config]{
|
||||
Overlay: overlay,
|
||||
Overrides: overrides,
|
||||
Definition: ck.Definition[Config]{
|
||||
Defaults: func() Config {
|
||||
|
||||
Reference in New Issue
Block a user