Give failure one spelling

This commit is contained in:
2026-09-28 21:21:35 +02:00
parent 750c417c2d
commit 0fc6afd1e7
10 changed files with 22 additions and 26 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import subprocess
from loop_claude.claude_code import assistant_parts, ends_stream, parse
from loop_claude.outcome import Failure
from loop_claude.transcript import said
from loop_claude.transcript import part_line
def run_worker(root, args):
@@ -16,7 +16,7 @@ def run_worker(root, args):
event = parse(raw) or {}
done = done or ends_stream(event)
for part in assistant_parts(event):
if line := said(part, 160):
if line := part_line(part, 160):
print(line, flush=True)
code = proc.wait()
if code < 0: