Complete PromptKit migration verification

This commit is contained in:
2026-10-04 14:17:30 +00:00
parent 4aba4f5672
commit 6700ed2188
2 changed files with 12 additions and 1 deletions

View File

@@ -286,7 +286,7 @@ func TestProductionAssetsResolveDNDExtractionProfile(t *testing.T) {
t.Run("invalid operator profile does not fall through", func(t *testing.T) {
profilePath := filepath.Join(t.TempDir(), "profiles.yaml")
if err := os.WriteFile(profilePath, []byte("id: dnd-extraction\nendpoint: http://operator.example.test/v1\nmodel: operator-model\nunknown: value\n"), 0o600); err != nil {
if err := os.WriteFile(profilePath, []byte("profiles:\n dnd-extraction:\n endpoint: http://operator.example.test/v1\n model: operator-model\n unknown: value\n"), 0o600); err != nil {
t.Fatal(err)
}
engine, err := newEngine(profilePath)