Repository navigation
Conversation
Co-authored-by: TRAE CLI <[email protected]>
xinna2001
requested review from
47seek,
LucasIcarus,
deepcoldy,
xiaoxueSunn and
xiongz-c
as code owners
October 23, 2026 10:35
Owner
|
已合并,感谢 @xinna2001 的贡献!保存路径与重启加载路径的校验口径这次对齐了,负载回包解挂护栏的测试形状(含「再次触发检查」的双断言)也很扎实。 两个非阻断的后续小项,方便时可在后续小 PR 顺手处理:
再次感谢! |
|
🚀 Released in v3.51.0 |
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.
手写 Auto 模型池中,单个模型使用静态表尚未记录的合法档位(如
gpt-6-astra: ultra/max)会使整池失效,启动时静默回落到 CLI 默认模型。本次只在配置归一化层校验结构与合法参数,把模型能力判断留给 Dashboard 保存路径的实时 catalog,保留原池顺序、各模型设置和共享默认值。同时完成 #2156 作者评论中的两项测试维护要求:
restoreCfg('thread')同时剥掉 model 与 reasoningEffort;测试行为不变。验证:
perl -e 'alarm shift; exec @ARGV' 120 node_modules/.bin/vitest run test/traex-auto-model-settings.test.ts test/traex-auto-model-worker.test.ts test/traex-auto-model.test.ts test/worker-codex-session-upgrade.test.ts test/traex-auto-model-save-continuity.test.ts --reporter=dot:161 项全部通过,含 Dashboard 不支持档位返回 400 的原有行为。npx --yes [email protected] run build:完整构建、源码/脚本/mock 类型检查及产物审计通过。git diff --check:通过。影响范围为 TraeX Auto 手写配置和对应测试。模型池结构错误、重复或虚拟模型、非法档位枚举、超时参数仍会被拒绝。手写档位是否受当前 CLI 支持由 CLI 决定,Dashboard 实时能力校验保持有效。没有重启日常 Botmux、修改运行包或发布版本。异步抓屏在独立后续 PR 处理。
后续要求来源:#2156 (comment)