fix(presets): add Kimi affiliate links (#3809)

Problem: Kimi and Moonshot preset links were user-clickable without the cc-switch affiliate query.\n\nDecision: Update only UI-facing preset website/API-key links and leave API request endpoints untouched.\n\nChange: Add aff=cc-switch to Kimi/Moonshot websiteUrl values and Codex/OpenCode API-key links.

Co-authored-by: xumingyuan <xumingyuan@msh.team>
This commit is contained in:
oriengy
2026-06-08 23:25:28 +08:00
committed by GitHub
parent 5beb63e67d
commit 955ea26da9
6 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -404,8 +404,8 @@ requires_openai_auth = true`,
},
{
name: "Kimi",
websiteUrl: "https://platform.moonshot.cn/console",
apiKeyUrl: "https://platform.moonshot.cn/console/api-keys",
websiteUrl: "https://platform.moonshot.cn/console?aff=cc-switch",
apiKeyUrl: "https://platform.moonshot.cn/console/api-keys?aff=cc-switch",
auth: generateThirdPartyAuth(""),
config: generateThirdPartyConfig(
"kimi",