codex - 💡(How to fix) Fix Error running remote compact task [5 comments, 5 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17810Fetched 2026-04-15 06:27:47
View on GitHub
Comments
5
Participants
5
Timeline
15
Reactions
5
Author
Timeline (top)
commented ×5cross-referenced ×5labeled ×3closed ×1

Error Message

■ Error running remote compact task: stream disconnected before completion: error sending request for url

RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

codex-cli 0.125.0

What subscription do you have?

gpt-pro

Which model were you using?

gpt-5.5

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What terminal emulator and version are you using (if applicable)?

Windows Terminal PowerShell

What issue are you seeing?

■ Error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact) happens per 10 min. I must change model to gpt-5.3 to finish /compact, then switch to gpt-5.5 for continuing

What steps can reproduce the bug?

Perhaps the context length of GPT-5.5 is far shorter than that of GPT-5.3?

What is the expected behavior?

No response

Additional information

No response

extent analysis

TL;DR

The issue is likely due to an unknown parameter 'prompt_cache_retention' in the remote compact task, which may be a recent change or update issue.

Guidance

  • Verify the documentation for the Codex App version 26.409.20454 to check if the 'prompt_cache_retention' parameter is supported or has been deprecated.
  • Check the configuration files or settings for any recent changes that may have introduced this parameter.
  • Review the uploaded thread 019d78ea-2e48-7242-be4a-f30e0476900a for any specific details about the compaction task that failed.
  • Consider reaching out to the Codex App support team for further assistance, as this issue may be related to a specific update or configuration.

Notes

The issue seems to be related to a specific version of the Codex App, and the 'prompt_cache_retention' parameter is not recognized. Without more information about the configuration or recent changes, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: Remove or comment out the 'prompt_cache_retention' parameter from the configuration files or settings, if possible, to see if the compaction task works without it. This may help mitigate the issue until a more permanent solution is found.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Error running remote compact task [5 comments, 5 participants]