Spell out the judge's prompt in judge.py and call the worker the worker in it

This commit is contained in:
2026-10-22 01:18:08 +02:00
parent c0b31427c0
commit eb17a4080d
5 changed files with 38 additions and 35 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ def human_text(entry: dict) -> str | None:
# {"type": "user", "promptSource": "sdk", "message": {"content": "Continue the task; the previous run ended before the chunk was finished."}}
def loop_text(entry: dict) -> str | None:
"""What a -p prompt of loop-claude's told the agent."""
"""What a -p prompt of loop-claude's told the worker."""
text = content(entry)
return text if entry.get("type") == "user" and entry.get("promptSource") == "sdk" and isinstance(text, str) else None