You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9fe96b6
Browse filesBrowse the repository at this point in the historyBrowse files
docs(claude): document long-window 1M marking in the Claude Code guides
English and the six translated guides now say that a window of 1M or at
least the 829,800 default compaction threshold gets the [1m] row, that the
floor is fixed, that Claude models on an Anthropic route need a genuine 1M,
and that an overflow is recovered by Claude Code's own compaction.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: docs-site/src/content/docs/fr/guides/claude-code.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -423,7 +423,7 @@ d'OpenCodex, de réappliquer ce profil et de démarrer une nouvelle conversation
423
423
dépannage, sans garantie de résolution. OpenCodex ne peut pas observer l'état du sélecteur ; il achemine
424
424
l'identifiant du modèle porté par chaque requête. Vérifiez ce que le client envoie sous **Logs → requestedModel**.
425
425
426
-
Les modèles dont la fenêtre de contexte de référence atteint 1M obtiennent une ligne supplémentaire `…[1m]` dans le sélecteur.
426
+
Les modèles dont la fenêtre de contexte de référence atteint 1M ou au moins le seuil de compactage par défaut (829 800) obtiennent une ligne supplémentaire `…[1m]` dans le sélecteur.
427
427
Sa sélection indique à Claude Code la fenêtre complète de 1M pour ce modèle, tout en maintenant le compactage automatique ; le proxy retire
428
428
le marqueur avant le routage.
429
429
La sélection est conservée dans le champ `model` de `settings.json` ; pour les requêtes entrantes, l'alias est de nouveau
@@ -458,8 +458,10 @@ conservent leurs identifiants canoniques sur les deux interfaces.
458
458
459
459
### Marqueur `[1m]` de variante contextuelle
460
460
461
-
Les modèles dont la fenêtre de contexte de référence atteint 1M — ou, avec le contexte automatique, dépasse 200k tout en atteignant
462
-
au moins le seuil de compactage — obtiennent une ligne supplémentaire `…[1m]` dans le sélecteur. En la sélectionnant, Claude Code
461
+
Les modèles dont la fenêtre de contexte de référence atteint 1M ou au moins le seuil de compactage par défaut (829 800)
462
+
obtiennent une ligne supplémentaire `…[1m]` dans le sélecteur. Ce plancher est fixe : modifier la valeur de compactage ne l'abaisse pas,
463
+
et un modèle Claude sur une route Anthropic doit réellement atteindre 1M. Sans contexte automatique, seule une fenêtre de 1M compte.
464
+
Au-delà de la fenêtre réelle, l'erreur `prompt is too long` déclenche le compactage automatique de Claude Code. En la sélectionnant, Claude Code
463
465
tient compte d'un contexte complet de 1M. Le proxy supprime le suffixe `[1m]`, sans tenir compte de la casse, avant la
Copy file name to clipboardExpand all lines: docs-site/src/content/docs/guides/claude-code.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -584,7 +584,8 @@ reapplying the profile, and starting a new conversation. This is a troubleshooti
584
584
guaranteed fix. OpenCodex cannot observe picker state; it routes the model id carried by each
585
585
request. Confirm what the client sends under **Logs → requestedModel**.
586
586
587
-
Models with an authoritative 1M context window get an extra `…[1m]` picker row: selecting it makes
587
+
Models with a long context window (1M, or at least the 829,800-token default compaction threshold;
588
+
Claude models on an Anthropic route need a genuine 1M) get an extra `…[1m]` picker row: selecting it makes
588
589
Claude Code account a full 1M context for that model (auto-compaction stays on) — the proxy strips
589
590
the marker before routing.
590
591
Selecting one persists it to Claude Code's `settings.json``model` field; inbound requests resolve
@@ -620,8 +621,10 @@ keep their canonical ids on both surfaces.
620
621
621
622
### Context-variant `[1m]` marker
622
623
623
-
Models with an authoritative context window of 1M (or, under auto-context, above 200k and at
624
-
least the compaction threshold) get an extra `…[1m]` picker row. Selecting it makes Claude Code
624
+
Models with an authoritative context window of 1M, or at least the 829,800-token default
625
+
compaction threshold, get an extra `…[1m]` picker row; the floor is fixed, so a custom compaction
626
+
value does not lower it, and Claude models on an Anthropic route need a genuine 1M. Turning
627
+
auto-context off limits the row to 1M windows. Selecting it makes Claude Code
625
628
account a full 1M context. The proxy strips the case-insensitive `[1m]` suffix before alias
626
629
resolution and routing.
627
630
@@ -1045,7 +1048,7 @@ the confirmed obsolete token file and applying first-party mode again; never del
1045
1048
1046
1049
### First-party picker context markers
1047
1050
1048
-
The Desktop Code-tab picker adds `[1m]` to routed models whose authoritative context window is at least one million tokens, so Claude uses its 1M accounting instead of the smaller custom-model fallback. Labels, profile order, and provider routes stay unchanged. Unknown and sub-million windows remain unmarked, including native long-window opt-ins: the picker cannot guarantee that a Desktop or remote runner receives the matching compaction environment. The paired auto-context setup for `ocx claude` is unchanged. An existing conversation keeps its saved selector until you select the model again from the refreshed picker.
1051
+
The Desktop Code-tab picker adds `[1m]` to routed models whose authoritative context window is at least one million tokens or at least the 829,800-token default compaction threshold (for example a native GPT-6 model opted into its 872k window), so Claude uses its 1M accounting instead of the smaller custom-model fallback. Claude models on an Anthropic route still need a genuine 1M. Labels, profile order, and provider routes stay unchanged. Unknown and shorter windows remain unmarked. The picker cannot guarantee that a Desktop or remote runner receives the matching compaction environment, so a long-window model that outgrows its real window gets a `prompt is too long` error, which Claude Code answers by compacting. Desktop 3P `supports1m`/`prefer1m` and generated subagents follow the same rule. The paired auto-context setup for `ocx claude` is unchanged. An existing conversation keeps its saved selector until you select the model again from the refreshed picker.
능력 정보(추론 강도 사다리, thinking 타입)를 실어 보냅니다 — Claude Desktop의 서드파티
284
284
게이트웨이 모드가 추론 강도 선택 UI를 열 수 있게 하기 위해서입니다. 실제 Anthropic 모델은
285
285
원래 id를 그대로 유지합니다. 합성된 2026 날짜는 내부 슬롯이며 출시일이 아닙니다. 구버전의
286
-
해시 별칭과 `claude-ocx-<provider>--<model>`, `claude-ocx2-<provider>--<model>` 별칭도 계속 해석됩니다. 저장된 `claude-ocx-`는 `ocx-claude-`로, 이스케이프된 `claude-ocx2-`는 `ocx-claude2-`로 한 번 다시 고르면 실제 컨텍스트 창과 compact가 함께 적용됩니다. 컨텍스트가 1M인 모델에는
286
+
해시 별칭과 `claude-ocx-<provider>--<model>`, `claude-ocx2-<provider>--<model>` 별칭도 계속 해석됩니다. 저장된 `claude-ocx-`는 `ocx-claude-`로, 이스케이프된 `claude-ocx2-`는 `ocx-claude2-`로 한 번 다시 고르면 실제 컨텍스트 창과 compact가 함께 적용됩니다. 컨텍스트가 1M이거나 기본 압축 임곗값(829,800) 이상인 모델에는
287
287
`…[1m]` 행이 하나 더 생깁니다 — 이걸 고르면 Claude Code가 그 모델의 컨텍스트를 1M로 계산합니다
288
288
(자동 요약 유지, 프록시가 표식을 떼고 라우팅). 선택하면 Claude Code의
289
289
`settings.json``model` 필드에 저장되고, 인바운드 요청에서
@@ -343,8 +343,9 @@ v2 별칭은 이스케이프를 펼쳐요. 읽기 쉬운 형식으로 표현할
343
343
344
344
### 컨텍스트 변형 `[1m]` 표식
345
345
346
-
공식 컨텍스트 창이 1M인 모델에는 `…[1m]` 선택기 행이 하나 더 생겨요. 자동 컨텍스트를 사용할
347
-
때는 컨텍스트가 200k를 넘고 압축 임곗값 이상인 모델도 해당해요. 이 행을 선택하면 Claude Code가
346
+
공식 컨텍스트 창이 1M이거나 기본 압축 임곗값(829,800) 이상인 모델에는 `…[1m]` 선택기 행이 하나 더
347
+
생겨요. 이 기준은 고정이라 압축 값을 직접 바꿔도 낮아지지 않고, Anthropic 경로의 Claude 모델은 실제 1M이어야
348
+
해요. 자동 컨텍스트를 끄면 1M 모델만 해당해요. 실제 창을 넘으면 `prompt is too long` 오류가 오고 Claude Code가 자동으로 압축해요. 이 행을 선택하면 Claude Code가
348
349
전체 1M 컨텍스트를 계산해요. 프록시는 별칭 해석과 라우팅 전에 대소문자를 구분하지 않고 `[1m]`
0 commit comments