调整 Claude 兔子线路默认域名#30
Open
selwen-0102 wants to merge 1 commit into
Open
Conversation
问题描述:Claude 兔子线路默认域名需要从 https://api.tu-zi.com 切换到 https://apius.tu-zi.com,且不影响其它应用线路。 修复思路:同步前端预设与后端官方种子,启动刷新时仅迁移 Claude 名称为兔子线路且仍使用旧默认域名的历史配置,并保留用户密钥和模型字段。 更新代码架构:在官方供应商种子初始化流程中增加 Claude 兔子线路窄范围迁移逻辑,补充配置测试、Rust 种子迁移测试及 docs/qa 交接文档。
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.
问题描述
Claude 兔子线路默认域名需要从
https://api.tu-zi.com调整为https://apius.tu-zi.com,同时不影响 Codex、Gemini、OpenClaw、Hermes 等其它应用线路。修复思路
更新代码架构
验证
pnpm vitest run tests/config/claudeProviderPresets.test.tscargo test --manifest-path src-tauri/Cargo.toml --test provider_commands fresh_install_seeds_claude_and_gemini_presets_without_api_keyscargo test --manifest-path src-tauri/Cargo.toml --test provider_commands provider_seed_does_not_overwrite_existing_api_keyscargo test --manifest-path src-tauri/Cargo.toml --test provider_commands claude_tuzi_seed_migrates_existing_named_route_only备注:完整
provider_commands测试当前存在主线 Codex current provider 断言失败,和本次 Claude 默认域名改动无关;本次相关定向用例均已通过。