Skip to content

Error running remote compact task #17812

Closed

Description

@tsoofbaror

What version of Codex CLI is running?

codex-cli 0.120.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.4 xhigh

What platform is your computer?

Darwin 24.3.0 arm64 arm

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

cmux

What issue are you seeing?

Just got:
Error running remote compact task: {
"error": {
"message": "Unknown parameter: 'prompt_cache_retention'.",
"type": "invalid_request_error",
"param": "prompt_cache_retention",
"code": "unknown_parameter"
}
}

without any option to continue the conversation. /compact let to the same thing.

What steps can reproduce the bug?

Uploaded thread: 019d8cfa-cf33-7473-a505-8de4adc7ad1d

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    CLIIssues related to the Codex CLI
    contextIssues related to context management (including compaction)
    on Apr 14, 2026
  2. github-actions commented on Apr 14, 2026

    @github-actions
    Contributor
  3. nanomader commented on Apr 14, 2026

    @nanomader

    Or mention your thread ID 019d8d0d-526d-7632-9d80-28cfb78533d2 in an existing issue.

    I also have the same issue.
    Image

  4. EricSongXinLe commented on Apr 14, 2026

    @EricSongXinLe

    Same issue here.
    thread ID 019d4b5b-01b3-7533-a3c0-b4aaed5d56c8

  5. michalzarsm commented on Apr 14, 2026

    @michalzarsm

    Same issue.

  6. liudesheng9 commented on Apr 14, 2026

    @liudesheng9

    Same issue.

  7. brycedbjork commented on Apr 14, 2026

    @brycedbjork

    same issue

  8. vikaswakde commented on Apr 14, 2026

    @vikaswakde

    same issue

  9. bartdeboer commented on Apr 14, 2026

    @bartdeboer

    Same here (Desktop Version 26.409.20454 (1462))

  10. Agistaris commented on Apr 14, 2026

    @Agistaris

    Same issue, fix asap please. Big misstep. On Pro, using CachyOS Codex CLI.

    Image
  11. EzTiger commented on Apr 14, 2026

    @EzTiger

    Desktop version: Codex 26.409.20454

    I have the same issue and cannot move on.
    Error running remote compact task: {"error": { "message": "Unknown parameter: 'prompt_cache_retention'.", "type": "invalid_request_error", "param": "prompt_cache_retention", "code": "unknown_parameter" } }

    What is the fix for this or when will there be a fix for this?

  12. nanomader commented on Apr 14, 2026

    @nanomader

    What is the fix for this or when will there be a fix for this?

    @EzTiger you could try this #17809 (comment) but I suggest to wait for official update. I have now retried and compaction works fine (I have NOT enabled that workaround).

  13. etraut-openai commented on Apr 14, 2026

    @etraut-openai
    Contributor

    We rolled back the change that caused this regression, so this should be addressed now. Apologies for the inconvenience.

  14. sinopec commented on Apr 26, 2026

    @sinopec

    We rolled back the change that caused this regression, so this should be addressed now. Apologies for the inconvenience.

    still exist in codex-cli 0.124.0

  15. linQian99 commented on May 6, 2026

    @linQian99

    still exist in codex-cli 0.128.0

  16. gudlarohan commented on May 6, 2026

    @gudlarohan

    still exists in codex-cli 0.128.0

    please fix it.

  17. nextdimension commented on May 6, 2026

    @nextdimension

    yep, just happened to me on OpenAI Codex (v0.128.0)

  18. nextdimension commented on May 6, 2026

    @nextdimension

    please reopen the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingcontextIssues related to context management (including compaction)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions