Compose runtime glossary files with native configuration

This commit is contained in:
2026-11-26 18:17:16 +00:00
parent b1cde637a2
commit a4b8fd0976
26 changed files with 292 additions and 92 deletions

View File

@@ -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