test/fixtures/openrouter/responses_repo_read_call.sse

58e6347eeb72 · 2 KB

data: {"type":"response.output_item.added","response_id":"resp_repo_read","output_index":0,"item":{"type":"reasoning","id":"rs_repo_read","status":"in_progress","summary":[]}}

data: {"type":"response.output_item.done","response_id":"resp_repo_read","output_index":0,"item":{"type":"reasoning","id":"rs_repo_read","status":"completed","summary":[{"type":"summary_text","text":"Read the current file before changing it."}],"encrypted_content":"encrypted-repo-read"}}

data: {"type":"response.output_item.added","response_id":"resp_repo_read","output_index":1,"item":{"type":"message","id":"msg_repo_read_preamble","role":"assistant","status":"completed","content":[{"type":"output_text","text":"I will inspect the current workspace file before changing it.","annotations":[]}]}}

data: {"type":"response.output_item.done","response_id":"resp_repo_read","output_index":1,"item":{"type":"message","id":"msg_repo_read_preamble","role":"assistant","status":"completed","content":[{"type":"output_text","text":"I will inspect the current workspace file before changing it.","annotations":[]}]}}

data: {"type":"response.output_item.added","response_id":"resp_repo_read","output_index":2,"item":{"type":"function_call","id":"fc_repo_read","call_id":"call_repo_read","name":"read","arguments":"","status":"in_progress"}}

data: {"type":"response.function_call_arguments.delta","response_id":"resp_repo_read","item_id":"fc_repo_read","output_index":2,"delta":"{\"path\":\"notes.txt\",\"from\":\"workspace\"}"}

data: {"type":"response.function_call_arguments.done","response_id":"resp_repo_read","item_id":"fc_repo_read","output_index":2,"arguments":"{\"path\":\"notes.txt\",\"from\":\"workspace\"}"}

data: {"type":"response.output_item.done","response_id":"resp_repo_read","output_index":2,"item":{"type":"function_call","id":"fc_repo_read","call_id":"call_repo_read","name":"read","arguments":"{\"path\":\"notes.txt\",\"from\":\"workspace\"}","status":"completed"}}

data: {"type":"response.completed","response":{"id":"resp_repo_read","object":"response","status":"completed","model":"z-ai/glm-5.3-flash","output":[{"type":"reasoning","id":"rs_repo_read","status":"completed","summary":[{"type":"summary_text","text":"Read the current file before changing it."}],"encrypted_content":"encrypted-repo-read"},{"type":"message","id":"msg_repo_read_preamble","role":"assistant","status":"completed","content":[{"type":"output_text","text":"I will inspect the current workspace file before changing it.","annotations":[]}]},{"type":"function_call","id":"fc_repo_read","call_id":"call_repo_read","name":"read","arguments":"{\"path\":\"notes.txt\",\"from\":\"workspace\"}","status":"completed"}]}}

data: [DONE]