2 pages for disable_compact.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Error reference
Claude Code CLI · in the page
errors
…ompact or /clear to continue ``` The line names only `/clear` when [`DISABLE_COMPACT`](/docs/en/env-vars) is set. Longer forms of the error, such as the compaction-failed form below, keep the `Prompt…
Model configuration
Claude Code CLI · in the page
model-config
…ip, in any casing, the variable takes effect only when you also set [`DISABLE_COMPACT`](/docs/en/env-vars), which disables all compaction. For example, an ID that contains a Claude model name that…