mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 21:30:17 +08:00
fix(providers): rename OpenCode/OpenClaw Kimi preset to "Kimi"
The OpenCode and OpenClaw presets were labeled "Kimi K2.7 Code", unlike the plain "Kimi" used by the other apps. Rename the preset (and the OpenCode provider display name) to "Kimi" for consistency; the model label stays "Kimi K2.7 Code" since it describes the actual model.
This commit is contained in:
@@ -589,13 +589,13 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Kimi K2.7 Code",
|
||||
name: "Kimi",
|
||||
primePartner: true,
|
||||
websiteUrl: "https://platform.moonshot.cn/console?aff=cc-switch",
|
||||
apiKeyUrl: "https://platform.moonshot.cn/console/api-keys?aff=cc-switch",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai-compatible",
|
||||
name: "Kimi K2.7 Code",
|
||||
name: "Kimi",
|
||||
options: {
|
||||
baseURL: "https://api.moonshot.cn/v1",
|
||||
apiKey: "",
|
||||
|
||||
Reference in New Issue
Block a user