mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-27 08:14:33 +08:00
chore(kimi): update referral links to new platform.kimi.com domain
Moonshot rebranded its console to Kimi, so refresh all Kimi sponsor referral links across provider presets and READMEs: - API (domestic): platform.moonshot.cn/console -> platform.kimi.com - API key page: platform.moonshot.cn/console/api-keys -> platform.kimi.com/console/api-keys - Coding Plan: www.kimi.com/code/docs/ -> www.kimi.com/code/ Also add the missing ?aff=cc-switch param to the codex and openclaw entries that previously had no referral attribution. API endpoints (api.moonshot.cn, api.kimi.com/coding) are intentionally left unchanged. The overseas link (platform.kimi.ai) is not wired up yet since there is no overseas API preset.
This commit is contained in:
@@ -457,7 +457,7 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
|
||||
{
|
||||
name: "Kimi",
|
||||
primePartner: true,
|
||||
websiteUrl: "https://platform.moonshot.cn/console?aff=cc-switch",
|
||||
websiteUrl: "https://platform.kimi.com?aff=cc-switch",
|
||||
category: "cn_official",
|
||||
baseUrl: "https://api.moonshot.cn/anthropic",
|
||||
mode: "proxy",
|
||||
@@ -473,7 +473,7 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
|
||||
{
|
||||
name: "Kimi For Coding",
|
||||
primePartner: true,
|
||||
websiteUrl: "https://www.kimi.com/code/docs/?aff=cc-switch",
|
||||
websiteUrl: "https://www.kimi.com/code/?aff=cc-switch",
|
||||
category: "cn_official",
|
||||
baseUrl: "https://api.kimi.com/coding/",
|
||||
mode: "proxy",
|
||||
|
||||
@@ -416,7 +416,7 @@ export const providerPresets: ProviderPreset[] = [
|
||||
{
|
||||
name: "Kimi",
|
||||
primePartner: true,
|
||||
websiteUrl: "https://platform.moonshot.cn/console?aff=cc-switch",
|
||||
websiteUrl: "https://platform.kimi.com?aff=cc-switch",
|
||||
settingsConfig: {
|
||||
env: {
|
||||
ANTHROPIC_BASE_URL: "https://api.moonshot.cn/anthropic",
|
||||
@@ -434,7 +434,7 @@ export const providerPresets: ProviderPreset[] = [
|
||||
{
|
||||
name: "Kimi For Coding",
|
||||
primePartner: true,
|
||||
websiteUrl: "https://www.kimi.com/code/docs/?aff=cc-switch",
|
||||
websiteUrl: "https://www.kimi.com/code/?aff=cc-switch",
|
||||
settingsConfig: {
|
||||
env: {
|
||||
ANTHROPIC_BASE_URL: "https://api.kimi.com/coding/",
|
||||
|
||||
@@ -485,8 +485,8 @@ requires_openai_auth = true`,
|
||||
{
|
||||
name: "Kimi",
|
||||
primePartner: true,
|
||||
websiteUrl: "https://platform.moonshot.cn/console?aff=cc-switch",
|
||||
apiKeyUrl: "https://platform.moonshot.cn/console/api-keys?aff=cc-switch",
|
||||
websiteUrl: "https://platform.kimi.com?aff=cc-switch",
|
||||
apiKeyUrl: "https://platform.kimi.com/console/api-keys?aff=cc-switch",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig(
|
||||
"kimi",
|
||||
@@ -516,8 +516,8 @@ requires_openai_auth = true`,
|
||||
{
|
||||
name: "Kimi For Coding",
|
||||
primePartner: true,
|
||||
websiteUrl: "https://www.kimi.com/code/docs/",
|
||||
apiKeyUrl: "https://www.kimi.com/code/",
|
||||
websiteUrl: "https://www.kimi.com/code/?aff=cc-switch",
|
||||
apiKeyUrl: "https://www.kimi.com/code/?aff=cc-switch",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig(
|
||||
"kimi_coding",
|
||||
|
||||
@@ -579,7 +579,7 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
|
||||
{
|
||||
name: "Kimi",
|
||||
primePartner: true,
|
||||
websiteUrl: "https://platform.moonshot.cn/console?aff=cc-switch",
|
||||
websiteUrl: "https://platform.kimi.com?aff=cc-switch",
|
||||
settingsConfig: {
|
||||
name: "kimi",
|
||||
base_url: "https://api.moonshot.cn/v1",
|
||||
@@ -597,7 +597,7 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
|
||||
{
|
||||
name: "Kimi For Coding",
|
||||
primePartner: true,
|
||||
websiteUrl: "https://www.kimi.com/code/docs/?aff=cc-switch",
|
||||
websiteUrl: "https://www.kimi.com/code/?aff=cc-switch",
|
||||
settingsConfig: {
|
||||
name: "kimi_coding",
|
||||
base_url: "https://api.kimi.com/coding/",
|
||||
|
||||
@@ -600,8 +600,8 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
|
||||
{
|
||||
name: "Kimi",
|
||||
primePartner: true,
|
||||
websiteUrl: "https://platform.moonshot.cn/console?aff=cc-switch",
|
||||
apiKeyUrl: "https://platform.moonshot.cn/console/api-keys",
|
||||
websiteUrl: "https://platform.kimi.com?aff=cc-switch",
|
||||
apiKeyUrl: "https://platform.kimi.com/console/api-keys?aff=cc-switch",
|
||||
settingsConfig: {
|
||||
baseUrl: "https://api.moonshot.cn/v1",
|
||||
apiKey: "",
|
||||
@@ -639,8 +639,8 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
|
||||
{
|
||||
name: "Kimi For Coding",
|
||||
primePartner: true,
|
||||
websiteUrl: "https://www.kimi.com/code/docs/?aff=cc-switch",
|
||||
apiKeyUrl: "https://platform.moonshot.cn/console/api-keys",
|
||||
websiteUrl: "https://www.kimi.com/code/?aff=cc-switch",
|
||||
apiKeyUrl: "https://platform.kimi.com/console/api-keys?aff=cc-switch",
|
||||
settingsConfig: {
|
||||
baseUrl: "https://api.kimi.com/v1",
|
||||
apiKey: "",
|
||||
|
||||
@@ -674,8 +674,8 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
{
|
||||
name: "Kimi",
|
||||
primePartner: true,
|
||||
websiteUrl: "https://platform.moonshot.cn/console?aff=cc-switch",
|
||||
apiKeyUrl: "https://platform.moonshot.cn/console/api-keys?aff=cc-switch",
|
||||
websiteUrl: "https://platform.kimi.com?aff=cc-switch",
|
||||
apiKeyUrl: "https://platform.kimi.com/console/api-keys?aff=cc-switch",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai-compatible",
|
||||
name: "Kimi",
|
||||
@@ -708,8 +708,8 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
{
|
||||
name: "Kimi For Coding",
|
||||
primePartner: true,
|
||||
websiteUrl: "https://www.kimi.com/code/docs/?aff=cc-switch",
|
||||
apiKeyUrl: "https://platform.moonshot.cn/console/api-keys?aff=cc-switch",
|
||||
websiteUrl: "https://www.kimi.com/code/?aff=cc-switch",
|
||||
apiKeyUrl: "https://platform.kimi.com/console/api-keys?aff=cc-switch",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/anthropic",
|
||||
name: "Kimi For Coding",
|
||||
|
||||
Reference in New Issue
Block a user