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:
Jason
2026-06-19 16:58:51 +08:00
parent c26d867f79
commit e648b7425e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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: "",