Answer principles round 2: 0 🔴, 0 🟡; name the typed answer's two parts in Typed

This commit is contained in:
2026-10-17 23:41:59 +02:00
parent c4a4f40aa6
commit e7f5443688
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ class Render(unittest.TestCase):
queued("origin/main moved", "coordinator"),
{**human("Continue the task; the previous run stopped before it was finished."), "promptSource": "sdk"},
{**human("Answered: use B\nYour question: A or B?"), "promptSource": "sdk"},
], lambda prompt: tuple(reversed(prompt.removeprefix("Answered: ").split("\n"))) if prompt.startswith("Answered: ") else None)
], lambda prompt: transcript.Typed(*reversed(prompt.removeprefix("Answered: ").split("\n"))) if prompt.startswith("Answered: ") else None)
self.assertEqual(said, '[human] do it\n\nStarting.\n\n[tool Bash] {"command": "ls"}\n\n[human] yes, merge it\n\n[human] B, while you work\n\n[loop] Continue the task; the previous run stopped before it was finished.\n\n[loop] Your question: A or B?\n\n[human] use B')