Compose runtime glossary files with native configuration
This commit is contained in:
@@ -488,13 +488,13 @@ func (c *repairClient) Coordinate(ctx context.Context, _ *structuredoutput.Excha
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
loaded, _, err := appconfig.Load(context.Background(), ck.Input{Source: ck.File(filepath.Join(dir, "config.yml"))}, "")
|
||||
loaded, _, err := appconfig.Load(context.Background(), ck.Input{Source: ck.File(filepath.Join(dir, "config.yml"))}, appconfig.Options{})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
var selected *structuredoutput.Request
|
||||
initial := true
|
||||
runtime, err := llm.NewRuntime(ctx, loaded, &http.Client{Transport: repairTransport(func(*http.Request) (*http.Response, error) {
|
||||
runtime, err := llm.NewRuntime(ctx, loaded.Result, &http.Client{Transport: repairTransport(func(*http.Request) (*http.Response, error) {
|
||||
content := `{"corrections":[]}`
|
||||
if initial {
|
||||
initial = false
|
||||
|
||||
Reference in New Issue
Block a user