Name the minute's sleep and the exec at their call sites
This commit is contained in:
@@ -4,7 +4,7 @@ import subprocess
|
||||
|
||||
from loop_claude.claude_code import structured_output
|
||||
from loop_claude.outcome import Failure
|
||||
from loop_claude.strike import strike
|
||||
from loop_claude.strike import stop_or_sleep_a_minute
|
||||
|
||||
JUDGE_RULES = (
|
||||
"Decide whether the human must now be interrupted. interrupt=true when any of these appear:\n"
|
||||
@@ -60,7 +60,7 @@ def judge(root, task, premises, transcript, model):
|
||||
failure = f"the judge quoted {verdict['evidence']!r}, nothing in the transcript" + (f", for the question: {verdict['question']}" if verdict["interrupt"] else "")
|
||||
else:
|
||||
return verdict
|
||||
if stop := strike("judge", failures, failure):
|
||||
if stop := stop_or_sleep_a_minute("judge", failures, failure):
|
||||
return stop
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user