Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.257 ·

Unknown-model context-window warning message reworded

The unknown-model context window warning is reworded and now names the env var that restores the old waiting behavior.

TierUse it nowhow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaCompactionwhat it touches
KindImprovementsin v2.1.257,
Use it now Notable

The unknown-model context window warning is reworded and now names the env var that restores the old waiting behavior.

The warning shown when Claude Code doesn't recognize a model and falls back to an assumed context window for auto-compact has been reworded. It now consistently references CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT=1 as the way to restore the previous wait-for-the-API behavior.

Read from
Names in the bundleCLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT=1

See this entry in the whole of v2.1.257 →

Feedback