Answer the architect's first round
This commit is contained in:
@@ -63,7 +63,7 @@ def judge(root, task, premises, transcript, model, effects: Effects) -> Verdict
|
||||
|
||||
def run_judge(root, args, prompt, transcript, effects: Effects) -> Verdict | Failure:
|
||||
try:
|
||||
proc = effects.run(["claude", *args], capture_output=True, cwd=root, input=prompt, text=True)
|
||||
proc = effects.claude(args, root, prompt)
|
||||
except OSError as failure:
|
||||
return Failure(f"could not start claude: {failure.strerror}")
|
||||
if proc.returncode != 0:
|
||||
|
||||
Reference in New Issue
Block a user