mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
refactor(presets): align CCSub to end of partner block across apps
Move the CCSub preset to sit right after DouBaoSeed, at the end of the partner block and before the first non-partner provider, so its position is consistent across all six apps: - Codex / OpenCode: moved up from the 2nd slot (between Shengsuanyun and the next partner) to the block tail - OpenClaw / Hermes: moved up from the aggregator section to the block tail - Claude / Claude Desktop: already at the block tail Also add the missing CHANGELOG entry for the CCSub preset, and drop the provider preset order test that enforced a now-unneeded ordering invariant.
This commit is contained in:
@@ -116,22 +116,6 @@ export const codexProviderPresets: CodexProviderPreset[] = [
|
||||
partnerPromotionKey: "shengsuanyun",
|
||||
icon: "shengsuanyun",
|
||||
},
|
||||
{
|
||||
name: "CCSub",
|
||||
websiteUrl: "https://www.ccsub.net",
|
||||
apiKeyUrl: "https://www.ccsub.net/register?ref=Y6Z8DXEA",
|
||||
category: "aggregator",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig(
|
||||
"ccsub",
|
||||
"https://www.ccsub.net/v1",
|
||||
"gpt-5.5",
|
||||
),
|
||||
endpointCandidates: ["https://www.ccsub.net/v1"],
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "ccsub",
|
||||
icon: "ccsub",
|
||||
},
|
||||
{
|
||||
name: "PatewayAI",
|
||||
websiteUrl: "https://pateway.ai",
|
||||
@@ -231,6 +215,22 @@ export const codexProviderPresets: CodexProviderPreset[] = [
|
||||
icon: "doubao",
|
||||
iconColor: "#3370FF",
|
||||
},
|
||||
{
|
||||
name: "CCSub",
|
||||
websiteUrl: "https://www.ccsub.net",
|
||||
apiKeyUrl: "https://www.ccsub.net/register?ref=Y6Z8DXEA",
|
||||
category: "aggregator",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig(
|
||||
"ccsub",
|
||||
"https://www.ccsub.net/v1",
|
||||
"gpt-5.5",
|
||||
),
|
||||
endpointCandidates: ["https://www.ccsub.net/v1"],
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "ccsub",
|
||||
icon: "ccsub",
|
||||
},
|
||||
{
|
||||
name: "Azure OpenAI",
|
||||
websiteUrl:
|
||||
|
||||
Reference in New Issue
Block a user