Migrate PromptKit integration to shared inspection
This commit is contained in:
@@ -98,6 +98,9 @@ func adapterEngineFrom(t *testing.T, label, configuration string, options ...pro
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
for index := range inputs {
|
||||
inputs[index].Destination = configkit.Keys("promptkit")
|
||||
}
|
||||
engine, err := promptkit.NewEngine(promptkit.Config{Sources: promptkit.ConfigurationSources{
|
||||
Underlays: []configkit.Underlay{{Inputs: inputs}},
|
||||
}}, append([]promptkit.Option{promptkit.WithBundledOpenRouter(false)}, options...)...)
|
||||
|
||||
Reference in New Issue
Block a user