Codex IDE extension often stays on "Thinking" for a long time even for simple prompts
What version of the IDE extension are you using?
ChatGPT/Codex VS Code extension: 26.513.21555
What subscription do you have?
ChatGPT Plus
Which IDE are you using?
VS Code
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Codex IDE extension stays on "Thinking" for a long time
Over the past two days, the Codex IDE extension has often stayed on the "Thinking" state for a long time, even for very simple prompts. It can take around 5 minutes even for simple tasks.
My network connection is working normally, and other websites and services work as expected. This issue happens repeatedly in VS Code. Sometimes Codex does not return a response for a long time and does not show any clear error message. Other extensions do not seem to have this issue.
<img width="552" height="169" alt="Image" src="https://github.com/user-attachments/assets/a8721367-4c75-44c9-80d0-ce569166a086" />
What steps can reproduce the bug?
- Open VS Code.
- Open any repository.
- Open the Codex IDE extension panel.
- Send a simple prompt, for example:
- "Please explain this small function."
- "Check this file."
- "Review this small change."
- Observe that Codex often stays on "Thinking" for a long time, sometimes around 5 minutes, without returning a response or showing a clear error message.
This does not happen every single time, but it has been happening repeatedly over the past two days.
What is the expected behavior?
Codex should start responding within a reasonable time, or show a clear timeout/error message if something goes wrong, instead of staying on the "Thinking" state indefinitely.
Additional information
- This issue started happening around the past two days.
- It happens even with simple prompts.
- Screenshot attached.
- VS Code version: 1.121.0.
- ChatGPT/Codex VS Code extension: 26.513.21555.
- Subscription: ChatGPT Plus.
- IDE: VS Code.
- Platform: Windows 11 x64.
7 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I reviewed the potential duplicate issues suggested by the bot.
#23807 looks possibly related because it also mentions ~300s / 5-minute stalls. However, it seems to mainly be about Codex CLI, and it uses a custom provider endpoint. Its logs also show
stream disconnected - retrying sampling request. My report is about the VS Code IDE extension UI staying on "Thinking" even for simple prompts.#24287 has a similar "stuck in Thinking" symptom, but it seems to be about the Codex Desktop app on macOS, and involves Stop/cancel not working and session state desync issues. My environment is the VS Code extension on Windows.
So these issues may be related, but I do not think they are exact duplicates.
same problem
Widespread at this point, see my issue https://github.com/openai/codex/issues/24260
I believe this is a widespread issue. Even when I ask a simple question like '1+1=?', the model takes several minutes of thinking before delivering an answer.
same problem
I am seeing a closely related issue on macOS, with a more specific post-tool continuation failure.
Environment
Observed behavior
This has happened repeatedly after network-, MCP-, keychain-, or shell-backed tool calls:
Thinking.Examples include:
gh auth statuswaiting on the macOS keychain or GitHub APIThis is intermittent but recurrent. A user instruction such as “stop or notify me if an operation takes longer than 60 seconds” does not reliably prevent the silent wait.
Expected behavior
This appears related to #24434, which describes tool results returning successfully but the assistant continuation never resuming. The difference here is that it reproduces in the VS Code extension on macOS and includes web, MCP, and keychain-backed GitHub CLI operations.
I can provide redacted logs or
codex doctor --jsonoutput if that would help.