Skip to content

Unknown parameter: 'prompt_cache_retention'. #17813

Closed

Description

@pjasicek

What version of Codex CLI is running?

codex-cli 0.120.0

What subscription do you have?

Pro 200$

Which model were you using?

gpt-5.4 high

What platform is your computer?

Linux 5.15.0-139-generic x86_64 x86_64

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

Gnome terminal + Tmux

What issue are you seeing?

After a long continuous session I started getting this error as a response to every prompt:

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

Restarting codex does not help.

What steps can reproduce the bug?

Uploaded thread: 019d77ac-c213-7df3-899b-46d23518fc1d

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bug
    on Apr 14, 2026
  2. added
    CLI
    context
    on Apr 14, 2026
  3. github-actions commented on Apr 14, 2026

    @github-actions
    Contributor
  4. vucinatim commented on Apr 14, 2026

    @vucinatim

    please fix this fast - summarization is not working at all 🙏

  5. gndk commented on Apr 14, 2026

    @gndk

    Same here, seems like compaction is completely broken and all sessions at that point unrecoverable.

  6. Higor-Matos commented on Apr 14, 2026

    @Higor-Matos
  7. 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.

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

    CLIbugcontext

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions