diff --git a/src/config/claudeDesktopProviderPresets.ts b/src/config/claudeDesktopProviderPresets.ts index 63c2c557b..a6e29b034 100644 --- a/src/config/claudeDesktopProviderPresets.ts +++ b/src/config/claudeDesktopProviderPresets.ts @@ -503,6 +503,19 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [ partnerPromotionKey: "packycode", icon: "packycode", }, + { + name: "PatewayAI", + websiteUrl: "https://pateway.ai", + apiKeyUrl: "https://pateway.ai/?ch=etzpm8&aff=WB6M6F67#/", + category: "third_party", + baseUrl: "https://api.pateway.ai", + mode: "proxy", + apiFormat: "anthropic", + modelRoutes: passthroughRoutes(), + isPartner: true, + partnerPromotionKey: "patewayai", + icon: "pateway", + }, { name: "Cubence", websiteUrl: "https://cubence.com", diff --git a/src/config/claudeProviderPresets.ts b/src/config/claudeProviderPresets.ts index 5e9ece5a9..dccbf38a0 100644 --- a/src/config/claudeProviderPresets.ts +++ b/src/config/claudeProviderPresets.ts @@ -539,6 +539,22 @@ export const providerPresets: ProviderPreset[] = [ partnerPromotionKey: "packycode", // 促销信息 i18n key icon: "packycode", }, + { + name: "PatewayAI", + websiteUrl: "https://pateway.ai", + apiKeyUrl: "https://pateway.ai/?ch=etzpm8&aff=WB6M6F67#/", + apiKeyField: "ANTHROPIC_API_KEY", + settingsConfig: { + env: { + ANTHROPIC_BASE_URL: "https://api.pateway.ai", + ANTHROPIC_API_KEY: "", + }, + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "patewayai", + icon: "pateway", + }, { name: "Cubence", websiteUrl: "https://cubence.com", diff --git a/src/config/codexProviderPresets.ts b/src/config/codexProviderPresets.ts index 46a975616..84c08a5a8 100644 --- a/src/config/codexProviderPresets.ts +++ b/src/config/codexProviderPresets.ts @@ -170,6 +170,22 @@ requires_openai_auth = true`, partnerPromotionKey: "packycode", // 促销信息 i18n key icon: "packycode", }, + { + name: "PatewayAI", + websiteUrl: "https://pateway.ai", + apiKeyUrl: "https://pateway.ai/?ch=etzpm8&aff=WB6M6F67#/", + category: "third_party", + auth: generateThirdPartyAuth(""), + config: generateThirdPartyConfig( + "patewayai", + "https://api.pateway.ai/v1", + "gpt-5.5", + ), + endpointCandidates: ["https://api.pateway.ai/v1"], + isPartner: true, + partnerPromotionKey: "patewayai", + icon: "pateway", + }, { name: "Cubence", websiteUrl: "https://cubence.com", diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index c896ec128..7cb0d821c 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -835,6 +835,7 @@ "getApiKey": "Get API Key", "partnerPromotion": { "packycode": "PackyCode is an official partner of CC Switch. Register using this link and enter \"cc-switch\" promo code during recharge to get 10% off", + "patewayai": "PatewayAI offers special benefits for CC Switch users. Register via this link to receive $3 credit.", "minimax_cn": "MiniMax Coding Plan Special Offer, Starter from ¥9.9", "minimax_en": "MiniMax Coding Plan Black Friday, Starter is now $2/mo (80% OFF!)", "dmxapi": "Claude Code exclusive model 66% OFF now!", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 8587cb643..5114d407c 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -835,6 +835,7 @@ "getApiKey": "API Key を取得", "partnerPromotion": { "packycode": "PackyCode は CC Switch の公式パートナーです。登録後チャージ時に \"cc-switch\" を入力すると 10% オフ", + "patewayai": "PatewayAI は CC Switch ユーザーに特別な特典を提供しています。このリンクから登録すると $3 のクレジットがもらえます。", "minimax_cn": "MiniMax Coding Plan 特別価格、Starter ¥9.9 から", "minimax_en": "MiniMax Coding Plan Black Friday、Starter が月額 $2(80% OFF)", "dmxapi": "Claude Code 専用モデル 66% OFF 実施中!", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 3b09a321a..19371f9a8 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -835,6 +835,7 @@ "getApiKey": "获取 API Key", "partnerPromotion": { "packycode": "PackyCode 是 CC Switch 的官方合作伙伴,使用此链接注册并在充值时填写 \"cc-switch\" 优惠码,可以享受9折优惠", + "patewayai": "PatewayAI 为 CC Switch 的用户提供了特别福利,通过此链接注册可以获得3美元额度。", "minimax_cn": "MiniMax Coding Plan 特惠,Starter 套餐 9.9 元起", "minimax_en": "MiniMax Coding Plan 黑五特惠,Starter 套餐现仅 $2/月(2折优惠!)", "dmxapi": "Claude Code 专属模型 3.4 折优惠进行中!", diff --git a/src/icons/extracted/index.ts b/src/icons/extracted/index.ts index 5bc5f2f3d..f2b50d8be 100644 --- a/src/icons/extracted/index.ts +++ b/src/icons/extracted/index.ts @@ -4,6 +4,7 @@ import _eflowcode from "./eflowcode.png"; import _hermes from "./hermes.png"; import _lemondata from "./lemondata.png"; +import _pateway from "./pateway.jpg"; import _pipellm from "./pipellm.png"; import _shengsuanyun from "./shengsuanyun.svg?url"; @@ -83,6 +84,7 @@ export const iconUrls: Record = { eflowcode: _eflowcode, hermes: _hermes, lemondata: _lemondata, + pateway: _pateway, pipellm: _pipellm, shengsuanyun: _shengsuanyun, }; diff --git a/src/icons/extracted/metadata.ts b/src/icons/extracted/metadata.ts index 53c355844..e546b8021 100644 --- a/src/icons/extracted/metadata.ts +++ b/src/icons/extracted/metadata.ts @@ -282,6 +282,12 @@ export const iconMetadata: Record = { keywords: ["packycode", "packy", "packyapi"], defaultColor: "currentColor", }, + pateway: { + name: "pateway", + displayName: "PatewayAI", + category: "ai-provider", + keywords: ["pateway", "patewayai", "claude", "codex"], + }, palm: { name: "palm", displayName: "palm", diff --git a/src/icons/extracted/pateway.jpg b/src/icons/extracted/pateway.jpg new file mode 100644 index 000000000..e5deee819 Binary files /dev/null and b/src/icons/extracted/pateway.jpg differ