Annotate the return type of every function in loop_claude
This commit is contained in:
@@ -10,7 +10,7 @@ from loop_claude.project.checkout import checkouts
|
||||
TO = "answer the question above"
|
||||
|
||||
|
||||
def interrupt(root, session_id, model, path, question, paths):
|
||||
def interrupt(root, session_id, model, path, question, paths) -> Stop | None:
|
||||
print(f"\n{question}", file=sys.stderr)
|
||||
if stop := human_needed.off_terminal(TO):
|
||||
return stop
|
||||
|
||||
Reference in New Issue
Block a user