fix: prevent duplicate codex base_url entries#4316
Merged
farion1231 merged 1 commit intoJun 16, 2026
Conversation
Contributor
Author
|
@farion1231 用中文输入法很容易触发这个 |
Contributor
Author
_2026-06-16.163657.mp4 |
gfunc
pushed a commit
to gfunc/cc-switch
that referenced
this pull request
Jun 19, 2026
2 tasks
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]>
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.
Fix duplicate Codex base_url entries in provider config handling and add regression coverage.