-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(codex): add native GPT-5.6 1M context opt-in #3090
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,7 +65,7 @@ visibility = "list" | |
|
|
||
| | 路由 | 选择器 id 与目录元数据 | | ||
| | --- | --- | | ||
| | Codex 登录(账户限定的选择器行未启用) | 显示 `gpt-5.6-sol`、`gpt-5.6-terra`、`gpt-5.6-luna` 等裸原生 id,并按 `codexAccountMode` 使用 Pool 或 Direct。GPT-5.6 行使用 922,000-token 目录窗口。 | | ||
| | Codex 登录(账户限定的选择器行未启用) | 显示 `gpt-5.6-sol`、`gpt-5.6-terra`、`gpt-5.6-luna` 等裸原生 id,并按 `codexAccountMode` 使用 Pool 或 Direct。默认模式保留 272,000-token 目录窗口。Models 卡片中的显式 1M 模式不改变该默认值,只把这三个模型的 `max_context_window` 提升为 1,000,000,并同步 Codex 的 1,000,000 / 900,000 root opt-in。原有上下文 cap 仍可启用或限制实测的 922,000 流程。 | | ||
| | Codex 登录(账户限定的选择器行已启用且存在有效 selector) | 为每个有效 selector 与受支持原生模型的组合显示 `<selector>/<native-openai-model>` 行。每行只使用映射账户,裸原生行会从选择器中隐藏。原生 metadata 与 context window 会保留。 | | ||
| | OpenAI(API key) | 恰好八个命名空间行:`gpt-5.5`、`gpt-5.6`、Sol/Terra/Luna,以及三个 `*-pro` 虚拟 id(八个条目均为 1,050,000 context / 922,000 max input) | | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Synchronize the Chinese API-row count with the English source.
As per path instructions: translated content must not contradict the English source. 🤖 Prompt for AI AgentsSource: Path instructions |
||
| | OpenRouter | `openrouter/openai/gpt-5.6-sol`、`openrouter/openai/gpt-5.6-terra`、`openrouter/openai/gpt-5.6-luna`(922,000) | | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win
Centralize the repeated native-context configuration contract.
Both guide tables repeat configuration and Codex root-setting details that are already maintained in the provider reference. Keep each guide focused on model-picker behavior and link to its locale-specific canonical reference.
docs-site/src/content/docs/guides/codex-app-models.md#L170-L170: link the configuration details to/reference/configuration/providers/.docs-site/src/content/docs/zh-cn/guides/codex-app-models.md#L68-L68: link the configuration details to/zh-cn/reference/configuration/providers/.Based on learnings: “In docs-site guide pages, avoid duplicating policy or configuration text when a stable canonical document already covers it.”
📍 Affects 2 files
docs-site/src/content/docs/guides/codex-app-models.md#L170-L170(this comment)docs-site/src/content/docs/zh-cn/guides/codex-app-models.md#L68-L68🤖 Prompt for AI Agents
Source: Learnings