stop_reason, tool_use, tool_result — the loop every agent runs — step 5 of 9
Cursor wrote an agent loop and left the exit condition unfilled.
The loop should break when the model is finished — that is, when
the response's stop_reason equals which string?
Stop reason:
⌘↵ runs the editor.read, then continue.
stop_reason, tool_use, tool_result — the loop every agent runs — step 5 of 9
Cursor wrote an agent loop and left the exit condition unfilled.
The loop should break when the model is finished — that is, when
the response's stop_reason equals which string?
Stop reason:
⌘↵ runs the editor.read, then continue.