Skip to content

fix: prevent duplicate codex base_url entries#4316

Merged
farion1231 merged 1 commit into
farion1231:mainfrom
jeffwcx:fix/codex-base-url-duplicates
Jun 16, 2026
Merged

fix: prevent duplicate codex base_url entries#4316
farion1231 merged 1 commit into
farion1231:mainfrom
jeffwcx:fix/codex-base-url-duplicates

Conversation

@jeffwcx

@jeffwcx jeffwcx commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Fix duplicate Codex base_url entries in provider config handling and add regression coverage.

@jeffwcx

jeffwcx commented Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

@farion1231 用中文输入法很容易触发这个

@jeffwcx

jeffwcx commented Jun 16, 2026

Copy link
Copy Markdown
Contributor Author
_2026-06-16.163657.mp4

@farion1231 farion1231 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感谢您的贡献!

@farion1231
farion1231 merged commit caa912e into farion1231:main Jun 16, 2026
2 checks passed
gfunc pushed a commit to gfunc/cc-switch that referenced this pull request Jun 19, 2026
char1eslu added a commit to char1eslu/cc-switch that referenced this pull request Jul 5, 2026
proxy 链路(3.16.4):
- farion1231#3817 转发前解压请求体(zstd):新增 content_encoding 模块,Codex Desktop
  登录态压缩请求体不再破坏代理 JSON 解析,压缩的错误响应体也一并解压
- farion1231#4583 Copilot/Codex OAuth 走全局代理:不再写死 Client::new() 绕过代理
- farion1231#4159 Chat 工具调用缺函数名则跳过(流式/非流式/legacy 三路,去掉 unknown_tool 回退)

凭据安全(3.16.4/3.16.5):
- 通用配置片段剥离全部凭据:extract_claude_common_config 改用
  is_sensitive_config_key 模式匹配,剥掉任意 *_API_KEY/*_AUTH_TOKEN/*secret*/*token*
- farion1231#4654 用量脚本凭据仅作显式覆盖:ProviderService add/update 归一化 + deeplink 导入 + 前端缓存失效
- codex_history_migration 探测 CODEX_SQLITE_HOME 环境变量

Claude MCP(3.16.4):
- farion1231#3431 自定义配置目录时 MCP 文件存到目录内(dir/.claude.json),
  默认 ~/.claude 仍用 ~/.claude.json;移除旧的"访问即拷贝"迁移

farion1231#4160/farion1231#4239/farion1231#4316 经核对 fork 3.16.3 基线已含,跳过。
farion1231#4654 provider/mod.rs 测试与 farion1231#3431 mcp_commands 集成测试因 fork
  UsageScript/McpApps 字段差异未移植,功能逻辑完整,待后续补测试。

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants