codex - 💡(How to fix) Fix Remote compact task fails with unknown variant auto, expected high or original

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…

Error Message

Codex shows an internal error during remote context compaction: Error running remote compact task: stream disconnected before completion: unknown variant auto, expected high or original at line 1 column 212507 Codex desktop app, Windows workspace, timezone Europe/Bucharest. Error occurred during conversation compaction, not while running user code. Codex shows an internal error during remote context compaction: Error running remote compact task: stream disconnected before completion: unknown variant auto, expected high or original at line 1 column 212507 Codex desktop app, Windows workspace, timezone Europe/Bucharest. Error occurred during conversation compaction, not while running user code.

Root Cause

Actual: The stream disconnects before completion because a serialized field contains auto, while the server/parser only accepts high or original.

RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

codex-cli 0.133.0

What subscription do you have?

pro

What platform is your computer?

win11

What issue are you seeing?

Codex shows an internal error during remote context compaction:

Error running remote compact task: stream disconnected before completion: unknown variant auto, expected high or original at line 1 column 212507 Expected: The remote compact task should complete successfully, or tolerate/normalize auto if older/newer clients may emit it.

Actual: The stream disconnects before completion because a serialized field contains auto, while the server/parser only accepts high or original.

Likely cause: A schema mismatch between client and remote compaction service. A field that looks like an image/detail setting is serialized as auto, but the receiving side only accepts the enum variants high and original.

Environment: Codex desktop app, Windows workspace, timezone Europe/Bucharest. Error occurred during conversation compaction, not while running user code.

What steps can reproduce the bug?

Codex shows an internal error during remote context compaction:

Error running remote compact task: stream disconnected before completion: unknown variant auto, expected high or original at line 1 column 212507 Expected: The remote compact task should complete successfully, or tolerate/normalize auto if older/newer clients may emit it.

Actual: The stream disconnects before completion because a serialized field contains auto, while the server/parser only accepts high or original.

Likely cause: A schema mismatch between client and remote compaction service. A field that looks like an image/detail setting is serialized as auto, but the receiving side only accepts the enum variants high and original.

Environment: Codex desktop app, Windows workspace, timezone Europe/Bucharest. Error occurred during conversation compaction, not while running user code.

What is the expected behavior?

to do

Additional information

no

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 Remote compact task fails with unknown variant auto, expected high or original