Repository navigation
release: 1.7.0(模型选择 / 账号级代理 / 用量状态) - #146
Merged
Merged
Conversation
- 脚本以 429 / Too Many Requests 失败时重跑整个脚本,至多 3 次,退避 250ms 起、上限 5s - Retry-After 支持秒数与 HTTP 日期两种写法,retry_delay_ms 仍优先 - 未配置 timeout_ms 时默认超时由 5s 调整为 15s
- 连接测试的模型字段改为可选项列表:优先该账号上游 /models 实时目录,其次浏览器本地缓存,最后内置建议,仍支持手动输入;缓存按账号隔离并显示来源
- 新增 GET /accounts/{id}/models,兼容 OpenAI 兼容与 Codex 两种目录格式,失败返回 ok:false 以便前端回退
- Codex 适配器客户端版本同步到 0.154.0 并附带 client_version,解除 gpt-5.6 系列(需 0.144.0)与 gpt-6-astra(需 0.153.0)的版本门禁
- 账号可覆盖全局上游代理:accounts.proxy_mode 支持继承 / 强制直连 / 强制走代理,账号编辑弹窗新增「走代理」开关,覆盖模型目录、连接测试、网关转发与用量刷新
- 用量圆点仅在有可展示数据时为绿色;无驱动或无数据时保持中性,用量槽位留空
- 记录 GET /accounts/{id}/models 的 client_version 依赖与缓存回退策略,以及子模块升级时需同步 codexClientVersion
- 记录 accounts.proxy_mode 的继承 / 直连 / 走代理语义、uses_upstream_proxy 的含义与验证命令
- 记录用量圆点仅在确有可展示数据时为绿色
该用例断言复用全局 manual 代理地址,却把全局模式写成了 direct,导致实际走 系统/环境代理分支:本地因系统代理恰好命中而通过,CI 上则命中 http.ProxyFromEnvironment 的进程级缓存而失败。
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.
发布内容
版本 v1.7.0(v1.6.7 之后)。
/models实时目录,其次浏览器本地缓存,最后内置建议,仍支持手输;新增GET /accounts/{id}/models(兼容 OpenAI 兼容与 Codex 两种目录格式,失败返回ok:false供前端回退)0.154.0并附带client_version,解除 gpt-5.6 系列(需 0.144.0)与 gpt-6-astra(需 0.153.0)的版本门禁;references/openai-codex子模块升级到rust-v0.154.0accounts.proxy_mode支持继承 / 强制直连 / 强制走代理,账号编辑弹窗新增「走代理」开关(地址与凭据沿用设置页全局配置),覆盖模型目录、连接测试、网关转发与用量刷新Retry-After支持秒数与 HTTP 日期,默认超时由 5s 调整为 15sscripts/release/sync_release_metadata.sh --tag v1.7.0同步验证
bash scripts/ci/go_test_with_retry.sh:28 个包 oknpm --prefix frontend run test:18 files / 138 tests passednpm --prefix frontend run build:通过sync_release_metadata、collect_release_assets、release_updater_manifest、package_local_release、release_no_apple_signing、release_updater_signing_key、release_version_helpers、desktop_updater_config、release_msvc_spub、go_test_with_retry)合并后按
v1.7.0打附注 tag 触发桌面端发布流水线。