mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
chore(presets): show YYLX as 鱼鱼连线 in Chinese
Give the YYLX presets a nameKey so the picker shows the site's Chinese name, 鱼鱼连线 (魚魚連線 in zh-TW), while en and ja keep "YYLX". All nine preset files get the key; MiniMax Code inherits it from the Pi preset. The preset name and the inner settingsConfig.name stay "YYLX": the former keys the search alias table and the latter is the provider name written into client configs.
This commit is contained in:
1 parent
e0a03184d4
commit
85e574b47e
13 files changed
+17
-4
No files matched your search
@@ -1809,6 +1809,7 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "YYLX",
|
||||
nameKey: "providerForm.presets.yylx",
|
||||
websiteUrl: "https://yylx.io",
|
||||
apiKeyUrl: "https://app.yylx.io/keys",
|
||||
category: "aggregator",
|
||||
|
||||
@@ -2201,6 +2201,7 @@ export const providerPresets: ProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "YYLX",
|
||||
nameKey: "providerForm.presets.yylx",
|
||||
websiteUrl: "https://yylx.io",
|
||||
apiKeyUrl: "https://app.yylx.io/keys",
|
||||
settingsConfig: {
|
||||
|
||||
@@ -3776,6 +3776,7 @@ base_url = "https://cc-api.pipellm.ai/v1"`,
|
||||
},
|
||||
{
|
||||
name: "YYLX",
|
||||
nameKey: "providerForm.presets.yylx",
|
||||
websiteUrl: "https://yylx.io",
|
||||
apiKeyUrl: "https://app.yylx.io/keys",
|
||||
category: "aggregator",
|
||||
|
||||
@@ -656,6 +656,7 @@ export const geminiProviderPresets: GeminiProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "YYLX",
|
||||
nameKey: "providerForm.presets.yylx",
|
||||
websiteUrl: "https://yylx.io",
|
||||
apiKeyUrl: "https://app.yylx.io/keys",
|
||||
settingsConfig: {
|
||||
|
||||
@@ -700,6 +700,7 @@ export const grokBuildProviderPresets: GrokBuildProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "YYLX",
|
||||
nameKey: "providerForm.presets.yylx",
|
||||
websiteUrl: "https://yylx.io",
|
||||
apiKeyUrl: "https://app.yylx.io/keys",
|
||||
auth: grokAuth(),
|
||||
|
||||
@@ -2662,6 +2662,7 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "YYLX",
|
||||
nameKey: "providerForm.presets.yylx",
|
||||
websiteUrl: "https://yylx.io",
|
||||
apiKeyUrl: "https://app.yylx.io/keys",
|
||||
settingsConfig: {
|
||||
|
||||
@@ -5041,6 +5041,7 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "YYLX",
|
||||
nameKey: "providerForm.presets.yylx",
|
||||
websiteUrl: "https://yylx.io",
|
||||
apiKeyUrl: "https://app.yylx.io/keys",
|
||||
settingsConfig: {
|
||||
|
||||
@@ -3753,6 +3753,7 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "YYLX",
|
||||
nameKey: "providerForm.presets.yylx",
|
||||
websiteUrl: "https://yylx.io",
|
||||
apiKeyUrl: "https://app.yylx.io/keys",
|
||||
settingsConfig: {
|
||||
|
||||
@@ -2633,6 +2633,7 @@ const piProviderPresetDefinitions: PiProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "YYLX",
|
||||
nameKey: "providerForm.presets.yylx",
|
||||
providerKey: "cc-switch-yylx",
|
||||
websiteUrl: "https://yylx.io",
|
||||
apiKeyUrl: "https://app.yylx.io/keys",
|
||||
|
||||
@@ -1586,7 +1586,8 @@
|
||||
"openrouter": "OpenRouter",
|
||||
"deepseek": "DeepSeek",
|
||||
"together": "Together AI",
|
||||
"tuzi": "Tu-zi"
|
||||
"tuzi": "Tu-zi",
|
||||
"yylx": "YYLX"
|
||||
},
|
||||
"parameterConfig": "Parameter Config - {{name}} *",
|
||||
"mainModel": "Main Model (optional)",
|
||||
|
||||
@@ -1586,7 +1586,8 @@
|
||||
"openrouter": "OpenRouter",
|
||||
"deepseek": "DeepSeek",
|
||||
"together": "Together AI",
|
||||
"tuzi": "Tu-zi"
|
||||
"tuzi": "Tu-zi",
|
||||
"yylx": "YYLX"
|
||||
},
|
||||
"parameterConfig": "パラメーター設定 - {{name}} *",
|
||||
"mainModel": "メインモデル(任意)",
|
||||
|
||||
@@ -1587,7 +1587,8 @@
|
||||
"openrouter": "OpenRouter",
|
||||
"deepseek": "DeepSeek",
|
||||
"together": "Together AI",
|
||||
"tuzi": "兔子API"
|
||||
"tuzi": "兔子API",
|
||||
"yylx": "魚魚連線"
|
||||
},
|
||||
"parameterConfig": "參數設定 - {{name}} *",
|
||||
"mainModel": "主模型 (選填)",
|
||||
|
||||
@@ -1586,7 +1586,8 @@
|
||||
"openrouter": "OpenRouter",
|
||||
"deepseek": "DeepSeek",
|
||||
"together": "Together AI",
|
||||
"tuzi": "兔子API"
|
||||
"tuzi": "兔子API",
|
||||
"yylx": "鱼鱼连线"
|
||||
},
|
||||
"parameterConfig": "参数配置 - {{name}} *",
|
||||
"mainModel": "主模型 (可选)",
|
||||
|
||||
Reference in new issue
Block a user