From 869aa03733bdbbacfb760f979a8f8719be657b78 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 27 Sep 2026 17:01:12 +0200 Subject: [PATCH] Check typed's interruption only over the text parts non_text cleared --- bin/loop-claude | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/loop-claude b/bin/loop-claude index 4bb9079f..380e43f3 100755 --- a/bin/loop-claude +++ b/bin/loop-claude @@ -419,7 +419,7 @@ def typed(entry): command = isinstance(content, str) and content.startswith("<") no_content = not isinstance(content, str) and not parts non_text = any(not isinstance(part, dict) or part.get("type") != "text" for part in parts) - interruption = any(isinstance(part, dict) and part.get("type") == "text" and part.get("text", "").startswith("[Request interrupted") for part in parts) + interruption = not non_text and any(part.get("text", "").startswith("[Request interrupted") for part in parts) return not (meta or loop_prompt or command or no_content or non_text or interruption)