codex icon indicating copy to clipboard operation
codex copied to clipboard

πŸ– stream disconnected before completion: stream closed before response.completed

Open elsueno opened this issue 4 months ago β€’ 7 comments

What version of Codex is running?

codex-cli 0.22.0

Which model were you using?

any

What platform is your computer?

Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64

What steps can reproduce the bug?

>_ You are using OpenAI Codex in /mnt/c/Users/Sven/Documents/Fernwaerme/UberKontrol

 To get started, describe a task or try one of these commands:

 /init - create an AGENTS.md file with instructions for Codex
 /status - show current session configuration and token usage
 /diff - show git diff (including untracked files)
 /prompts - show example prompts

user
test

πŸ– stream disconnected before completion: stream closed before response.completed

β–Œ Ask Codex to do anything
 ⏎ send   Ctrl+J newline   Ctrl+C quit       

What is the expected behavior?

No response

What do you see instead?

>_ You are using OpenAI Codex in /mnt/c/Users/Sven/Documents/Fernwaerme/UberKontrol

 To get started, describe a task or try one of these commands:

 /init - create an AGENTS.md file with instructions for Codex
 /status - show current session configuration and token usage
 /diff - show git diff (including untracked files)
 /prompts - show example prompts

user
test

πŸ– stream disconnected before completion: stream closed before response.completed

β–Œ Ask Codex to do anything
 ⏎ send   Ctrl+J newline   Ctrl+C quit       

It makes no difference whether I'm logged in or not. It makes no difference which model I choose.

Additional information

No response

elsueno avatar Aug 18 '25 12:08 elsueno

i have the same issue

Rotsides avatar Aug 18 '25 18:08 Rotsides

same

kevichi7 avatar Aug 19 '25 13:08 kevichi7

same, any update?

Yeqishen avatar Aug 20 '25 09:08 Yeqishen

same, any update?

@yeqishen yeah, you gotta delete all OpenAI API keys that are stored as your environment values and reinstall codex. Mine were set in the systemd and I had some hard time fixing this issue. but first i'd suggest to look into config of your shell

kevichi7 avatar Aug 20 '25 10:08 kevichi7

OpenAI's issue? Sometimes I get empty response body but sometimes it works.

HunterXHK avatar Aug 22 '25 10:08 HunterXHK

I have the same error - no matter what I ask codex. I tried logging in via ChatGPT and with the API key. Here is a bug report:

====================== Codex CLI Bug Report

Date: Ε›ro, 27 sie 2025, 19:02:20 CEST

System

Linux zby-Dash 6.8.0-78-generic #78-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 12 11:34:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Node & npm

v22.17.1 10.9.2

Codex CLI

codex-cli 0.25.0

Python

Python 3.12.3

Important environment variables (keys redacted)

XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 OPENAI_API_KEY=[REDACTED] PTHONPATH=:. XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 PATH=/home/zby/llm/DayDreamingDayDreaming/.venv/bin:/home/zby/.nvm/versions/node/v22.17.1/bin:/home/zby/.local/bin:/home/zby/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

================== Codex CLI Session

Reproduce: run 'codex', type a short prompt, wait for error, Ctrl+C (user input + Codex output below)

Script started on 2025-08-27 19:02:20+02:00 [COMMAND="codex" TERM="xterm-256color" TTY="/dev/pts/4" COLUMNS="167" LINES="41"] [?2004h[>7u[6n[25S[1;1H[6n[?u[c[?2026h[2;1H[38;5;6;49mβ–Œ[2;3H[2m[39;49mImplement {feature} [3;1H [38;5;6;49m⏎[39;49m send [38;5;6;49mCtrl+J[39;49m newline [38;5;6;49mCtrl+T[39;49m transcript [38;5;6;49mCtrl+C[39;49m quit [39m[49m[59m[0m[?25h[2;2H[?2026l[?2026h[1;41r[1;1HMMMMMMMMM[r[1;9r[1;1H [39m[49m[0m [2m>_ [22m[1mYou are using OpenAI Codex in[22m[2m[2m ~/llm/DayDreamingDayDreaming[39m[49m[0m [2m[39m[49m[0m [2m To get started, describe a task or try one of these commands:[39m[49m[0m [2m[39m[49m[0m [2m /init - create an AGENTS.md file with instructions for Codex[39m[49m[0m [2m /status - show current session configuration and token usage[39m[49m[0m [2m /approvals - choose what Codex can do without approval[39m[49m[0m [2m /model - choose what model and reasoning effort to use[39m[49m[0m[r[2;2H[39m[49m[59m[0m[?25h[11;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[11;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[11;2H[?2026l[?2026h[11;2HI usually use the generation_scores_pivot - it should be in the results_processing group [39m[49m[59m[0m[?25h[11;2H[?2026l[?2026h[10;41r[10;1HMMM[r[1;12r[9;1H [39m[49m[0m [1m[38;5;6;49muser[39m[49m[0m I usually use the generation_scores_pivot - it should be in the results_processing group[39m[49m[0m[r[11;2H[14;2H [2mImplement {feature} [39m[49m[59m[0m[?25h[14;2H[?2026l[?2026h[13;1H[J[14;2H[1m[38;2;102;102;102;49mWorking[14;10H[22m[2m[2m[39;49m(0s β€’ [1mEsc[22m[2m to interrupt)[16;1H[22m[38;5;6;49mβ–Œ[16;3H[2m[39;49mImplement {feature} [17;1H [38;5;6;49m⏎[39;49m send [38;5;6;49mCtrl+J[39;49m newline [38;5;6;49mCtrl+T[39;49m transcript [38;5;6;49mCtrl+C[39;49m quit [39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[14;2H[1m[38;2;140;140;140;49mW[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[14;2H[1m[38;2;216;216;216;49mW[38;2;140;140;140;49mo[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[14;2H[1m[38;2;255;255;255;49mW[38;2;216;216;216;49mo[38;2;140;140;140;49mr[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[14;2H[1m[38;2;216;216;216;49mW[38;2;255;255;255;49mo[38;2;216;216;216;49mr[38;2;140;140;140;49mk[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[14;2H[1m[38;2;140;140;140;49mW[38;2;216;216;216;49mo[38;2;255;255;255;49mr[38;2;216;216;216;49mk[38;2;140;140;140;49mi[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[14;2H[1m[38;2;102;102;102;49mW[38;2;140;140;140;49mo[38;2;216;216;216;49mr[38;2;255;255;255;49mk[38;2;216;216;216;49mi[38;2;140;140;140;49mn[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[14;11H[2m1[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[14;3H[1m[38;2;102;102;102;49mo[38;2;140;140;140;49mr[38;2;216;216;216;49mk[38;2;255;255;255;49mi[38;2;216;216;216;49mn[38;2;140;140;140;49mg[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[14;4H[1m[38;2;102;102;102;49mr[38;2;140;140;140;49mk[38;2;216;216;216;49mi[38;2;255;255;255;49mn[38;2;216;216;216;49mg[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[14;5H[1m[38;2;102;102;102;49mk[38;2;140;140;140;49mi[38;2;216;216;216;49mn[38;2;255;255;255;49mg[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[14;6H[1m[38;2;102;102;102;49mi[38;2;140;140;140;49mn[38;2;216;216;216;49mg[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[14;7H[1m[38;2;102;102;102;49mn[38;2;140;140;140;49mg[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[14;8H[1m[38;2;102;102;102;49mg[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[16;2H[?2026l[?2026h[13;41r[13;1HMM[r[1;14r[12;1H [1m[38;5;5;49mβš β€Š[22m[39;49m [2mstream error: stream disconnected before completion: stream closed before response.completed; retrying 1/5 in 205ms…[39m[49m[0m [39m[49m[0m[r[16;2H[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[16;11H[2m2[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[16;2H[1m[38;2;140;140;140;49mW[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[16;2H[1m[38;2;216;216;216;49mW[38;2;140;140;140;49mo[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[16;2H[1m[38;2;255;255;255;49mW[38;2;216;216;216;49mo[38;2;140;140;140;49mr[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[16;2H[1m[38;2;216;216;216;49mW[38;2;255;255;255;49mo[38;2;216;216;216;49mr[38;2;140;140;140;49mk[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[16;2H[1m[38;2;140;140;140;49mW[38;2;216;216;216;49mo[38;2;255;255;255;49mr[38;2;216;216;216;49mk[38;2;140;140;140;49mi[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[16;2H[1m[38;2;102;102;102;49mW[38;2;140;140;140;49mo[38;2;216;216;216;49mr[38;2;255;255;255;49mk[38;2;216;216;216;49mi[38;2;140;140;140;49mn[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[16;11H[2m3[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[16;3H[1m[38;2;102;102;102;49mo[38;2;140;140;140;49mr[38;2;216;216;216;49mk[38;2;255;255;255;49mi[38;2;216;216;216;49mn[38;2;140;140;140;49mg[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[16;4H[1m[38;2;102;102;102;49mr[38;2;140;140;140;49mk[38;2;216;216;216;49mi[38;2;255;255;255;49mn[38;2;216;216;216;49mg[39m[49m[59m[0m[?25h[18;2H[?2026l[?2026h[15;41r[15;1HMM[r[1;16r[14;1H [1m[38;5;5;49mβš β€Š[22m[39;49m [2mstream error: stream disconnected before completion: stream closed before response.completed; retrying 2/5 in 426ms…[39m[49m[0m [39m[49m[0m[r[18;2H[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[18;5H[1m[38;2;102;102;102;49mk[38;2;140;140;140;49mi[38;2;216;216;216;49mn[38;2;255;255;255;49mg[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[18;6H[1m[38;2;102;102;102;49mi[38;2;140;140;140;49mn[38;2;216;216;216;49mg[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[18;7H[1m[38;2;102;102;102;49mn[38;2;140;140;140;49mg[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[18;8H[1m[38;2;102;102;102;49mg[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[18;11H[2m4[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[18;2H[1m[38;2;140;140;140;49mW[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[18;2H[1m[38;2;216;216;216;49mW[38;2;140;140;140;49mo[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[18;2H[1m[38;2;255;255;255;49mW[38;2;216;216;216;49mo[38;2;140;140;140;49mr[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[18;2H[1m[38;2;216;216;216;49mW[38;2;255;255;255;49mo[38;2;216;216;216;49mr[38;2;140;140;140;49mk[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[18;2H[1m[38;2;140;140;140;49mW[38;2;216;216;216;49mo[38;2;255;255;255;49mr[38;2;216;216;216;49mk[38;2;140;140;140;49mi[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[20;2H[?2026l[?2026h[17;41r[17;1HMM[r[1;18r[16;1H [1m[38;5;5;49mβš β€Š[22m[39;49m [2mstream error: stream disconnected before completion: stream closed before response.completed; retrying 3/5 in 807ms…[39m[49m[0m [39m[49m[0m[r[20;2H[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[20;2H[1m[38;2;102;102;102;49mW[38;2;140;140;140;49mo[38;2;216;216;216;49mr[38;2;255;255;255;49mk[38;2;216;216;216;49mi[38;2;140;140;140;49mn[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[20;11H[2m5[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[20;3H[1m[38;2;102;102;102;49mo[38;2;140;140;140;49mr[38;2;216;216;216;49mk[38;2;255;255;255;49mi[38;2;216;216;216;49mn[38;2;140;140;140;49mg[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[20;4H[1m[38;2;102;102;102;49mr[38;2;140;140;140;49mk[38;2;216;216;216;49mi[38;2;255;255;255;49mn[38;2;216;216;216;49mg[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[20;5H[1m[38;2;102;102;102;49mk[38;2;140;140;140;49mi[38;2;216;216;216;49mn[38;2;255;255;255;49mg[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[20;6H[1m[38;2;102;102;102;49mi[38;2;140;140;140;49mn[38;2;216;216;216;49mg[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[20;7H[1m[38;2;102;102;102;49mn[38;2;140;140;140;49mg[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[20;8H[1m[38;2;102;102;102;49mg[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[20;11H[2m6[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[20;2H[1m[38;2;140;140;140;49mW[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[22;2H[?2026l[?2026h[19;41r[19;1HMM[r[1;20r[18;1H [1m[38;5;5;49mβš β€Š[22m[39;49m [2mstream error: stream disconnected before completion: stream closed before response.completed; retrying 4/5 in 1.534s…[39m[49m[0m [39m[49m[0m[r[22;2H[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;2H[1m[38;2;216;216;216;49mW[38;2;140;140;140;49mo[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;2H[1m[38;2;255;255;255;49mW[38;2;216;216;216;49mo[38;2;140;140;140;49mr[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;2H[1m[38;2;216;216;216;49mW[38;2;255;255;255;49mo[38;2;216;216;216;49mr[38;2;140;140;140;49mk[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;2H[1m[38;2;140;140;140;49mW[38;2;216;216;216;49mo[38;2;255;255;255;49mr[38;2;216;216;216;49mk[38;2;140;140;140;49mi[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;2H[1m[38;2;102;102;102;49mW[38;2;140;140;140;49mo[38;2;216;216;216;49mr[38;2;255;255;255;49mk[38;2;216;216;216;49mi[38;2;140;140;140;49mn[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;11H[2m7[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;3H[1m[38;2;102;102;102;49mo[38;2;140;140;140;49mr[38;2;216;216;216;49mk[38;2;255;255;255;49mi[38;2;216;216;216;49mn[38;2;140;140;140;49mg[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;4H[1m[38;2;102;102;102;49mr[38;2;140;140;140;49mk[38;2;216;216;216;49mi[38;2;255;255;255;49mn[38;2;216;216;216;49mg[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;5H[1m[38;2;102;102;102;49mk[38;2;140;140;140;49mi[38;2;216;216;216;49mn[38;2;255;255;255;49mg[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;6H[1m[38;2;102;102;102;49mi[38;2;140;140;140;49mn[38;2;216;216;216;49mg[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;7H[1m[38;2;102;102;102;49mn[38;2;140;140;140;49mg[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;8H[1m[38;2;102;102;102;49mg[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;11H[2m8[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;2H[1m[38;2;140;140;140;49mW[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;2H[1m[38;2;216;216;216;49mW[38;2;140;140;140;49mo[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;2H[1m[38;2;255;255;255;49mW[38;2;216;216;216;49mo[38;2;140;140;140;49mr[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[22;2H[1m[38;2;216;216;216;49mW[38;2;255;255;255;49mo[38;2;216;216;216;49mr[38;2;140;140;140;49mk[39m[49m[59m[0m[?25h[24;2H[?2026l[?2026h[21;41r[21;1HMM[r[1;22r[20;1H [1m[38;5;5;49mβš β€Š[22m[39;49m [2mstream error: stream disconnected before completion: stream closed before response.completed; retrying 5/5 in 2.978s…[39m[49m[0m [39m[49m[0m[r[24;2H[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;2H[1m[38;2;140;140;140;49mW[38;2;216;216;216;49mo[38;2;255;255;255;49mr[38;2;216;216;216;49mk[38;2;140;140;140;49mi[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;2H[1m[38;2;102;102;102;49mW[38;2;140;140;140;49mo[38;2;216;216;216;49mr[38;2;255;255;255;49mk[38;2;216;216;216;49mi[38;2;140;140;140;49mn[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;11H[2m9[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;3H[1m[38;2;102;102;102;49mo[38;2;140;140;140;49mr[38;2;216;216;216;49mk[38;2;255;255;255;49mi[38;2;216;216;216;49mn[38;2;140;140;140;49mg[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;4H[1m[38;2;102;102;102;49mr[38;2;140;140;140;49mk[38;2;216;216;216;49mi[38;2;255;255;255;49mn[38;2;216;216;216;49mg[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;5H[1m[38;2;102;102;102;49mk[38;2;140;140;140;49mi[38;2;216;216;216;49mn[38;2;255;255;255;49mg[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;6H[1m[38;2;102;102;102;49mi[38;2;140;140;140;49mn[38;2;216;216;216;49mg[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;7H[1m[38;2;102;102;102;49mn[38;2;140;140;140;49mg[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;8H[1m[38;2;102;102;102;49mg[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;11H[2m10s β€’ [1mEsc[22m[2m to inte[24;29Hrupt)[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;2H[1m[38;2;140;140;140;49mW[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;2H[1m[38;2;216;216;216;49mW[38;2;140;140;140;49mo[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;2H[1m[38;2;255;255;255;49mW[38;2;216;216;216;49mo[38;2;140;140;140;49mr[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;2H[1m[38;2;216;216;216;49mW[38;2;255;255;255;49mo[38;2;216;216;216;49mr[38;2;140;140;140;49mk[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;2H[1m[38;2;140;140;140;49mW[38;2;216;216;216;49mo[38;2;255;255;255;49mr[38;2;216;216;216;49mk[38;2;140;140;140;49mi[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;2H[1m[38;2;102;102;102;49mW[38;2;140;140;140;49mo[38;2;216;216;216;49mr[38;2;255;255;255;49mk[38;2;216;216;216;49mi[38;2;140;140;140;49mn[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;12H[2m1[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;3H[1m[38;2;102;102;102;49mo[38;2;140;140;140;49mr[38;2;216;216;216;49mk[38;2;255;255;255;49mi[38;2;216;216;216;49mn[38;2;140;140;140;49mg[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;4H[1m[38;2;102;102;102;49mr[38;2;140;140;140;49mk[38;2;216;216;216;49mi[38;2;255;255;255;49mn[38;2;216;216;216;49mg[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;5H[1m[38;2;102;102;102;49mk[38;2;140;140;140;49mi[38;2;216;216;216;49mn[38;2;255;255;255;49mg[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;6H[1m[38;2;102;102;102;49mi[38;2;140;140;140;49mn[38;2;216;216;216;49mg[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;7H[1m[38;2;102;102;102;49mn[38;2;140;140;140;49mg[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;8H[1m[38;2;102;102;102;49mg[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;12H[2m2[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;2H[1m[38;2;140;140;140;49mW[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;2H[1m[38;2;216;216;216;49mW[38;2;140;140;140;49mo[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;2H[1m[38;2;255;255;255;49mW[38;2;216;216;216;49mo[38;2;140;140;140;49mr[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;2H[1m[38;2;216;216;216;49mW[38;2;255;255;255;49mo[38;2;216;216;216;49mr[38;2;140;140;140;49mk[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[24;2H[1m[38;2;140;140;140;49mW[38;2;216;216;216;49mo[38;2;255;255;255;49mr[38;2;216;216;216;49mk[38;2;140;140;140;49mi[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[23;1H[J[23;41r[23;1HMM[r[1;24r[22;1H [39m[49m[0m [1m[38;5;1;49mπŸ–β€Š[22m[39;49m stream disconnected before completion: stream closed before response.completed[39m[49m[0m[r[26;2H[26;1H[38;5;6;49mβ–Œ[26;3H[2m[39;49mImplement {feature} [27;1H [38;5;6;49m⏎[39;49m send [38;5;6;49mCtrl+J[39;49m newline [38;5;6;49mCtrl+T[39;49m transcript [38;5;6;49mCtrl+C[39;49m quit [39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[?2026h[39m[49m[59m[0m[?25h[26;2H[?2026l[25;1H[J[<1u[?2004l[?25h Script done on 2025-08-27 19:02:48+02:00 [COMMAND_EXIT_CODE="0"]

================== Curl Baseline Run

Raw SSE output from API (expected to end with response.completed)

event: response.created data: {"type":"response.created","sequence_number":0,"response":{"id":"resp_68af3a3a096c8194b21883539c04f9d80b4eedc5c4ec455d","object":"response","created_at":1756314170,"status":"in_progress","background":false,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"max_tool_calls":null,"model":"gpt-4.1-mini-2025-04-14","output":[],"parallel_tool_calls":true,"previous_response_id":null,"prompt_cache_key":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}

event: response.in_progress data: {"type":"response.in_progress","sequence_number":1,"response":{"id":"resp_68af3a3a096c8194b21883539c04f9d80b4eedc5c4ec455d","object":"response","created_at":1756314170,"status":"in_progress","background":false,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"max_tool_calls":null,"model":"gpt-4.1-mini-2025-04-14","output":[],"parallel_tool_calls":true,"previous_response_id":null,"prompt_cache_key":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}

event: response.output_item.added data: {"type":"response.output_item.added","sequence_number":2,"output_index":0,"item":{"id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","type":"message","status":"in_progress","content":[],"role":"assistant"}}

event: response.content_part.added data: {"type":"response.content_part.added","sequence_number":3,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":""}}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":4,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":"Sure","logprobs":[],"obfuscation":"csbDxsy3GfMi"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":5,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":"!","logprobs":[],"obfuscation":"BOLnWWZ4L1FhRay"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":6,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" Please","logprobs":[],"obfuscation":"gWvB6r2di"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":7,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" share","logprobs":[],"obfuscation":"9fadXvfK7C"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":8,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" the","logprobs":[],"obfuscation":"7dJuK2JcTsgo"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":9,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" ha","logprobs":[],"obfuscation":"oXkadF7uyLJnz"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":10,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":"iku","logprobs":[],"obfuscation":"YFurbHmIrhy6L"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":11,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" you'd","logprobs":[],"obfuscation":"dPf8X95ijL"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":12,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" like","logprobs":[],"obfuscation":"uf5PH0cYwk4"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":13,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" me","logprobs":[],"obfuscation":"S7puC3yks5sCS"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":14,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" to","logprobs":[],"obfuscation":"8EM6jRwrm7dUN"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":15,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" help","logprobs":[],"obfuscation":"UI5EUAHWHnu"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":16,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" debug","logprobs":[],"obfuscation":"sSxNgtF9mw"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":17,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":",","logprobs":[],"obfuscation":"2bGXpWaObuYCPIC"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":18,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" and","logprobs":[],"obfuscation":"wZo86GZyzfwN"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":19,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" I'll","logprobs":[],"obfuscation":"YCfh5KhWGqe"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":20,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" take","logprobs":[],"obfuscation":"ynOSS9wVYJO"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":21,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" a","logprobs":[],"obfuscation":"wcvSFUNPcniWAG"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":22,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":" look","logprobs":[],"obfuscation":"5ZGxJZJ64iq"}

event: response.output_text.delta data: {"type":"response.output_text.delta","sequence_number":23,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"delta":".","logprobs":[],"obfuscation":"FWqTSTMeZyW3ReS"}

event: response.output_text.done data: {"type":"response.output_text.done","sequence_number":24,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"text":"Sure! Please share the haiku you'd like me to help debug, and I'll take a look.","logprobs":[]}

event: response.content_part.done data: {"type":"response.content_part.done","sequence_number":25,"item_id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","output_index":0,"content_index":0,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":"Sure! Please share the haiku you'd like me to help debug, and I'll take a look."}}

event: response.output_item.done data: {"type":"response.output_item.done","sequence_number":26,"output_index":0,"item":{"id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"Sure! Please share the haiku you'd like me to help debug, and I'll take a look."}],"role":"assistant"}}

event: response.completed data: {"type":"response.completed","sequence_number":27,"response":{"id":"resp_68af3a3a096c8194b21883539c04f9d80b4eedc5c4ec455d","object":"response","created_at":1756314170,"status":"completed","background":false,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"max_tool_calls":null,"model":"gpt-4.1-mini-2025-04-14","output":[{"id":"msg_68af3a3af8688194a92a302be41f9e3f0b4eedc5c4ec455d","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"Sure! Please share the haiku you'd like me to help debug, and I'll take a look."}],"role":"assistant"}],"parallel_tool_calls":true,"previous_response_id":null,"prompt_cache_key":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","store":true,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":12,"input_tokens_details":{"cached_tokens":0},"output_tokens":21,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":33},"user":null,"metadata":{}}}

zby avatar Aug 27 '25 17:08 zby

Looks like duplicity of #1581, all env vars should be correct

vchepeli avatar Sep 07 '25 18:09 vchepeli

at my wits end, upgraded npm, upgraded codex, signed in with oauth, signed in with api key. Still always get

πŸ– stream disconnected before completion: stream closed before response.completed

evanreilly avatar Sep 17 '25 23:09 evanreilly

I think this problem has been addressed. I'm going to close this bug. If you see similar behaviors with the latest version of codex, please open a new issue and provide relevant details.

etraut-openai avatar Nov 18 '25 02:11 etraut-openai