Unknown parameter: 'prompt_cache_retention

Resolved 💬 3 comments Opened Apr 14, 2026 by jonhnet Closed Apr 14, 2026

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 default

What platform is your computer?

Linux 6.14.8-2-pve x86_64 x86_64

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

gnome-terminal

What issue are you seeing?

prompts kept getting met with

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

After a few minutes, it seems to have resolved, with "context compacted". Perhaps back end trouble?

What steps can reproduce the bug?

Uploaded thread: 019d8a4a-fe19-79d1-957c-3590eafb524e

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

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