@YYYYMMDD 接尾辞)に対して CLAUDE_CODE_MAX_CONTEXT_TOKENS が無視される問題を修正英語原文を表示
CLAUDE_CODE_MAX_CONTEXT_TOKENS being ignored for Vertex-style model IDs (@YYYYMMDD suffix) of model versions Claude Code doesn't recognize1 に設定すると、LLM ゲートウェイのエイリアスなど、Claude Code が認識できないモデル ID の場合に、事前の自動コンパクションをスキップする。この変数がない場合、Claude Code はその ID に対して想定したコンテキストウィンドウでコンパクションを行う。代わりに CLAUDE_CODE_MAX_CONTEXT_TOKENS を使うと想定されたウィンドウを修正できる。どちらの変数が適用されるかについては Correct the window for a gateway or custom model ID を参照すること。Claude Code v2.1.223 以降が必要である
[1m] 接尾辞がない Vertex 形式 (@YYYYMMDD 接尾辞付き) の未知のモデル ID に対して、宣言したウィンドウサイズでのプロアクティブなコンパクションを機能させたい場合に設定する。Set to 1 to skip proactive auto-compaction when Claude Code doesn't recognize the model ID, such as an LLM gateway alias. Without this variable, Claude Code compacts at the context window it assumes for the ID. CLAUDE_CODE_MAX_CONTEXT_TOKENS can correct the assumed window instead; see Correct the window for a gateway or custom model ID for when each variable applies. Requires Claude Code v2.1.223 or later
@YYYYMMDD 接尾辞)に対して CLAUDE_CODE_MAX_CONTEXT_TOKENS が無視される問題を修正CLAUDE_CODE_MAX_CONTEXT_TOKENS being ignored for Vertex-style model IDs (@YYYYMMDD suffix) of model versions Claude Code doesn't recognize