Bind schema selections throughout execution

This commit is contained in:
2026-11-20 15:36:44 +00:00
parent 2d96dfa696
commit 6fbbaa9cfa
20 changed files with 218 additions and 66 deletions

View File

@@ -6,7 +6,6 @@ import (
"path/filepath"
"sync/atomic"
"testing"
"testing/fstest"
"go.maximumdirect.net/promptkit"
)
@@ -146,7 +145,6 @@ func TestValidateRequestPreservesResourceAndSelectionFailures(t *testing.T) {
"schema": onePrompt("schema", schemaPrompt)["schema"],
}
engine := requirementsEngine(t, prompts, profiles,
promptkit.WithSchemaFS(fstest.MapFS{}, "."),
promptkit.WithLLMClient(countingLLMClient{calls: &modelCalls}),
)