Repository navigation
Conversation
Ziyi-Guo
marked this pull request as ready for review
September 25, 2026 13:11
This was referenced Sep 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Codex 的模型与推理选择按当前会话保存。管理员可在 Codex 管理页配置 Remote 默认模型和推理强度:native/OAuth headless 无话题覆盖时使用该值;设置留空则沿用原生 Codex 默认值。显式话题选择优先,排队请求保持冻结值。去掉源码中的固定模型回退,与 #902 的默认来源问题相关。
保留
/model、/reasoning配置入口,同时提供[sol]、[luna]、[astra]、[terra]和[sol:high]形式的快捷入口。Sol/Luna/Astra 使用 GPT-6 系列,Terra 保留 GPT-5.6;固定模型 Profile 下保留但暂停会话覆盖,并校验模型目录和推理强度。管理员设置写入
codex.defaultModel/defaultReasoningEffort,保存成功后更新运行时;固定 API Profile 与 VS Code 不使用 Remote 默认值。管理页支持修改和清空,清空后重新继承本机配置。本 PR 包含模型选择必须共同生效的路径:
群内不同话题的身份隔离由 #920 提供;本 PR 管理现有 surface 的设置,不单独改变群聊路由。最终模型展示独立在 #918。建议先合并检查基线 #917。
验证:
新增默认设置及协作模式协议修复已集成到保留现有功能的本机组合版本。真实 Codex app-server 的新建与恢复旧线程均完成模型生成(gpt-6-sol / high),返回预期 SETTINGS_OK;另有 off/on、新建/恢复、未知模型拒绝的回归。修复后 adapter 与 harness 组件、Web 73 项、构建和 pre-commit 通过。本机升级事务 committed,运行文件与构建哈希一致;原有 216 条会话设置未变化。未自动重放用户的飞书业务请求,真实飞书业务验收与上述本地协议验证区分记录。
CI 状态(2026-09-26 核验):工作流 为
action_required,等待具有上游仓库写权限的维护者批准。测试 job 尚未执行;本地验证结果与上游 CI 结果分别记录。