Migrate maintained D&D examples to native configuration
This commit is contained in:
@@ -34,7 +34,7 @@ pipelines:
|
||||
configPath := writeProductionContractConfig(t, content)
|
||||
client := &productionFakeLLMClient{}
|
||||
var stdout, stderr strings.Builder
|
||||
code := RunWithOptions([]string{"run", "dnd-session", "--config", configPath, "--input-file", repositoryPath("examples", "seriatim-minimal-transcript.json")}, &stdout, &stderr, productionRunOptions(t, client))
|
||||
code := RunWithOptions([]string{"run", "dnd-session", "--config", configPath, "--input-file", repositoryPath("examples", "dnd-minimal", "transcript.json")}, &stdout, &stderr, productionRunOptions(t, client))
|
||||
for _, fragment := range []string{`pipeline "dnd-session"`, `reference slot "npc_registry"`, "1048577 bytes", "limit 1048576"} {
|
||||
if code == 0 || !strings.Contains(stderr.String(), fragment) {
|
||||
t.Fatalf("status=%d stderr=%q, want %q", code, stderr.String(), fragment)
|
||||
|
||||
Reference in New Issue
Block a user