Remote compact task fails with unknown variant auto, expected high or original

Resolved 💬 3 comments Opened May 30, 2026 by bsb66 Closed Jun 29, 2026

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

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗