Repository navigation
Description
Environment
- Windows 10 Pro x64, build 19045.
- ChatGPT sign-in (no API key used).
- App About version reported by the user: 26.1007.21434, released October 8, 2026.
- Installed desktop package version subsequently reported by
codex doctor: 26.1007.9446.0. These are separate version sources; their relationship has not been established. - Bundled runtime: 0.162.0-alpha.17.2.
- Selected and persisted model:
gpt-6.1-sol, reasoning effortmedium. - Observed October 14, 2026.
Problem
Two existing desktop chats cannot continue after switching from GPT-5.5 to GPT-6.1 Sol. The picker shows GPT-6.1 Sol, but the next message triggers pre-turn compaction and fails with:
The 'gpt-5.5' model is not supported when using Codex with a ChatGPT account.
Error running remote compact task: ... HTTP 400 invalid_request_error ...
The user corrected the user-level default to model = "gpt-6.1-sol", saved it, restarted the app, and rebooted Windows. The failure persisted. Read-only inspection confirms both affected chats' stored model is also gpt-6.1-sol.
Diagnostic evidence
At 2026-10-14 16:23:33 UTC (12:23:33 EDT), the affected turn's logs show:
model=gpt-6.1-sol codex.turn.reasoning_effort=medium
run_auto_compact{reason=CompHashChanged phase=PreTurn}
previous-model compaction failed; retried with current model
previous_model="gpt-5.5"
current_model="gpt-6.1-sol"
reason=CompHashChanged
implementation=ResponsesCompactionV2
outcome="failed"
fallback_error=Some(Stream("stream closed before response.completed", None))
Failed to run pre-sampling compact
The same turn also records compaction retry warnings:
compact_error=We're currently experiencing high demand, which may cause temporary errors.
compact_error=stream disconnected before completion: stream closed before response.completed
retries=2 max_retries=2
The high-demand warning is an observation, not a proven explanation for the fallback failure.
The GPT-6.1 Sol fallback received HTTP 200 from the Responses endpoint, but the stream did not complete. Request IDs from two fallback attempts:
286bfd09-ea41-435b-8f0a-06c720f932db7c065826-a518-4554-8aca-d02a451a3a65
The chat UI/recorded final turn error still reports the original unsupported GPT-5.5 error.
A diagnostic run under the actual Windows user account confirms:
- user configuration parses and resolves to GPT-6.1 Sol;
- ChatGPT auth is configured;
- HTTP endpoint reachability and WebSocket handshake pass;
- state, log, and history database integrity checks pass.
These checks do not establish that streamed compaction requests succeed.
Reproduction observed
- Open an existing desktop chat with previous GPT-5.5 history.
- Select GPT-6.1 Sol.
- Send a new message.
- Pre-turn compaction runs for CompHashChanged.
- Previous-model compaction fails; current-model fallback also fails.
- The turn stops and the UI displays the obsolete model's unsupported error.
- Retrying after correcting the default and rebooting produces the same failure.
No minimal synthetic reproduction has been run.
Expected behavior
A chat switched to a supported model should recover through compaction. If fallback fails, the final error should identify the current-model failure as well as the original failure, so users are not led to repeatedly change an already-correct model setting.
Please advise on a supported way to recover the existing histories without deleting turns or editing databases.
Recovery investigation
The documented app-server API successfully exported the affected chat's history. A separate app-server process could not resume it because the desktop app owns the writer lock (already has an active writer). No compaction or direct database modifications were made by that recovery attempt. Manual /compact in the owning desktop app was subsequently tested; see the result below.
Related, but different failures:
- Model switch is blocked when previous-model compaction hits HTTP 429 #32453: previous-model compaction blocked by HTTP 429.
- Amazon Bedrock: model switch compacts with the previous model when comp_hash differs; the new model can't read the compaction item and the turn hangs until SSE idle timeout #48949: previous-model compaction across compatibility hashes on Bedrock.
No transcripts, credentials, repository contents, or unfiltered logs are included in this report.
Manual-compaction result (October 14, 2026)
The user ran the desktop app's /compact command at 16:37:36 UTC (12:37:36 EDT). Local logs confirm this was op.dispatch.compact / session_task.compact, explicitly using model=gpt-6.1-sol and reasoning effort medium. It failed at 16:37:40 UTC after the two retry warnings, with:
Error running remote compact task: stream disconnected before completion: stream closed before response.completed
This verifies that manual compaction with the current model also fails, independently of the initial previous-model rejection. The reason the stream closes is still unknown. No successful recovery has been established.
Second-model manual-compaction test
The user selected GPT-6 Sol in the same affected chat and ran /compact once. Local logs confirm model=gpt-6-sol, reasoning effort medium, op.dispatch.compact and session_task.compact. The operation began at 2026-10-14 16:40:09 UTC (12:40:09 EDT) and failed at 16:40:13 UTC after two retry warnings with the same error:
Error running remote compact task: stream disconnected before completion: stream closed before response.completed
This rules out a failure limited to GPT-6.1 Sol in this chat. It does not establish whether the remaining cause is server-side, transport-related during streaming, or specific to this history. No history deletion, turn rollback, direct database edits, or configuration workarounds were applied.
Activity
adrienlenoirpro69-cmyk commentedon Oct 16, 2026
I'm having exactly the same problem; there doesn't seem to be a solution yet.
infinitypacific commentedon Oct 18, 2026
It's happening with me as well
CyberChun0329 commentedon Oct 19, 2026
Also reproduced on macOS with newer desktop/runtime builds, observed on 2026-10-19.
Environment
uname -mprs:Darwin 27.2.0 arm64 arm.gpt-6.1-sol, reasoning effortultra.gpt-5.5. Its older rollout identifies runtime0.131.0-alpha.9; its last successful work was in June.Same pre-turn failure, despite the new model being selected
Both the persisted thread setting and the actual failing turn's native runtime records identify
gpt-6.1-sol. Nevertheless, sending a new message repeatedly stops during pre-turn compaction:The final recorded/UI error still reports:
Retry logs also contain both a high-demand warning and incomplete-stream errors. These do not establish the underlying cause.
Native fork also failed, with an additional fallback error
Creating a native branch/fork from the affected history did not recover it. That fork also selected
gpt-6.1-sol. Its current-model compaction fallback returned HTTP 400 /invalid_encrypted_content:The fork's final error nevertheless retained the original unsupported-
gpt-5.5message. This hydration error was observed in the fork; I cannot establish that the original chat has the same underlying defect.Observed reproduction and recovery boundary
CompHashChangedpre-turn compaction, failed fallback, and the obsolete-model error.A fresh chat in the same project, explicitly using GPT-6.1 Sol and loading the old visible conversation as plain text instead of inheriting its internal history, successfully completed a normal turn. Native runtime metadata verified
gpt-6.1-sol / ultra, and completion had no error. This is a continuity workaround, not a repair of the original chat.No direct edits to history databases or rollout records were needed. JSON parsing, duplicate item-ID checks, and the 130 tool-call/output pairs after the last successful compaction passed; those checks do not validate encrypted contents. No synthetic minimal reproduction has been run.
One attempted
/compactwas recorded as ordinary user input and still took thePreTurnpath, so I am not claiming a verified standalone manual-compaction test on this Mac.The new observations here are cross-platform reproduction on a newer build, the fork's hidden hydration failure, and a verified plain-text recovery workaround. Please preserve/surface the current-model fallback error, and investigate a supported recovery path for existing histories after model retirement.
Thread/turn IDs, local paths, prompts, credentials, headers, and encrypted payloads are omitted from this public report.
pvillavi commentedon Oct 19, 2026
Additional macOS observation, October 19, 2026:
At 13:05:48 and 13:08:25 UTC, two consecutive turns in a connected Mac local-task session ended with the exact error:
stream disconnected before completion: stream closed before response.completedNeither turn produced a final result. This records only the observed symptom. I have not verified that either turn involved context compaction, and cannot establish that this occurrence shares a cause with the compaction failures described here.
MisterRound commentedon Oct 19, 2026
Current-model fallback isolated to historical hosted-search replay in one affected chat
I reproduced this on Windows 11 Desktop with WSL2 execution and bundled agent 0.163.0-alpha.10.2, switching an existing GPT-5.5 chat to GPT-6 Astra / max. The selected model was correct. Logs confirmed the unsupported previous-model attempt, a real current-model fallback, and its hidden
stream closed before response.completedfailure. A genuine native manual Compact operation using Astra also failed.The new evidence is a controlled A/B on copies of the affected history: removing images, encrypted items, or both did not help; representing only historical hosted
web_search_callrecords as action/query text allowed native Astra compaction and a normal follow-up turn to complete. The successful variant retained the old encrypted checkpoint and images.Full sanitized test matrix, limits, and recovery evidence are in this comment on #51962. That report independently investigates the historical hosted-search/tool-declaration compatibility boundary. Its specific request-schema explanation is not yet proven for our case.
The original Desktop chat was subsequently recovered in place, using a backed-up, tested native current-model checkpoint. Its ID and original transcript were retained; all 1,976 prior indexed base-segment items were unchanged, and a native Astra Max turn completed with no error. This is an incident-specific recovery, not an upstream fix or advice to edit active histories blindly.
The error-reporting defect remains important: the public
rust-v0.163.0-alpha.10fallback implementation returns the original error when the current-model fallback fails (Err(_) => return Err(error)). That public tag is a source reference, not proof of exact identity with the bundled.10.2binary; runtime logs independently confirmed the fallback behavior.Please expose both failures and provide supported same-chat recovery rather than directing users to change an already-correct model setting or abandon intact history. This does not establish that every report here has the same hosted-search cause; we did not observe the separate encrypted-item hydration error reported above.