mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-02 18:41:35 +08:00
feat(providers): add routing support badges for Claude Code and Codex
Add visual indicators for routing capabilities on provider cards: - Claude Code: "Needs Routing" badge for non-official providers with non-anthropic API formats - Claude Code: "No Routing Support" badge for official providers - Codex: "No Routing Support" badge for official providers The badges help users understand which providers support format conversion through routing.
This commit is contained in:
@@ -173,6 +173,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"claudeCode": {
|
||||
"needsRouting": "Needs Routing",
|
||||
"noRoutingSupport": "No Routing Support"
|
||||
},
|
||||
"codex": {
|
||||
"noRoutingSupport": "No Routing Support"
|
||||
},
|
||||
"claudeDesktop": {
|
||||
"officialNotice": "Claude Desktop official providers use the built-in 1P sign-in. No API key or endpoint URL is required.",
|
||||
"mode": "Model handling",
|
||||
|
||||
@@ -173,6 +173,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"claudeCode": {
|
||||
"needsRouting": "ルーティングが必要",
|
||||
"noRoutingSupport": "ルーティング非対応"
|
||||
},
|
||||
"codex": {
|
||||
"noRoutingSupport": "ルーティング非対応"
|
||||
},
|
||||
"claudeDesktop": {
|
||||
"officialNotice": "Claude Desktop の公式プロバイダーは内蔵の 1P サインインを使用します。API キーやエンドポイントの設定は不要です。",
|
||||
"mode": "モデル処理方式",
|
||||
|
||||
@@ -173,6 +173,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"claudeCode": {
|
||||
"needsRouting": "需要路由",
|
||||
"noRoutingSupport": "不支持路由"
|
||||
},
|
||||
"codex": {
|
||||
"noRoutingSupport": "不支持路由"
|
||||
},
|
||||
"claudeDesktop": {
|
||||
"officialNotice": "Claude Desktop 官方供应商使用应用内置的 1P 登录,无需配置 API Key 和接口地址。",
|
||||
"mode": "模型处理方式",
|
||||
|
||||
Reference in New Issue
Block a user