From 74c2841b8db7e1f4cd95bbb2503743d260d71fda Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 28 Sep 2026 20:25:56 +0200 Subject: [PATCH] Count a typed reply starting with < as the human's --- bin/test_loop_claude.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/test_loop_claude.py b/bin/test_loop_claude.py index 9ed8006f..ba0d67a6 100644 --- a/bin/test_loop_claude.py +++ b/bin/test_loop_claude.py @@ -48,12 +48,14 @@ class HumanTurns(unittest.TestCase): human([{"type": "text", "text": "typed as a block"}]), human([{"type": "tool_result", "content": "not typed"}]), human("/model"), + {**human("<3 merge it"), "promptSource": "typed"}, + {**human("done"), "promptSource": "system"}, {**human("peer message"), "isMeta": True}, {**human("the loop's own prompt"), "promptSource": "sdk"}, human([{"type": "text", "text": "[Request interrupted by user]"}]), human([]), assistant({"type": "text", "text": "said"}), - ]), 2) + ]), 3) class Said(unittest.TestCase):