Skip to content

Commit 753dc91

Browse files
authored
Revert "feat: add kimi byok" (#1936)
1 parent 238af7d commit 753dc91

2 files changed

Lines changed: 0 additions & 22 deletions

File tree

src/cli/commands/connect-normalize.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ export type ConnectProviderCanonical =
1111
| "zai"
1212
| "zai-coding"
1313
| "minimax"
14-
| "moonshot"
15-
| "kimi-code"
1614
| "gemini"
1715
| "openrouter"
1816
| "bedrock";
@@ -25,8 +23,6 @@ const ALIAS_TO_CANONICAL: Record<string, ConnectProviderCanonical> = {
2523
zai: "zai",
2624
"zai-coding": "zai-coding",
2725
minimax: "minimax",
28-
moonshot: "moonshot",
29-
"kimi-code": "kimi-code",
3026
gemini: "gemini",
3127
openrouter: "openrouter",
3228
bedrock: "bedrock",
@@ -39,8 +35,6 @@ const CANONICAL_ORDER: ConnectProviderCanonical[] = [
3935
"zai",
4036
"zai-coding",
4137
"minimax",
42-
"moonshot",
43-
"kimi-code",
4438
"gemini",
4539
"openrouter",
4640
"bedrock",

src/providers/byok-providers.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,6 @@ export const BYOK_PROVIDERS = [
7575
providerType: "google_ai",
7676
providerName: "lc-gemini",
7777
},
78-
{
79-
id: "moonshot",
80-
displayName: "Moonshot AI",
81-
description: "Connect a Moonshot AI API key",
82-
providerType: "moonshot",
83-
providerName: "lc-moonshot",
84-
},
85-
{
86-
id: "kimi-code",
87-
displayName: "Kimi Code",
88-
description: "Connect a Kimi Code API key",
89-
providerType: "moonshot_coding",
90-
providerName: "lc-kimi-code",
91-
},
9278
{
9379
id: "openrouter",
9480
displayName: "OpenRouter API",
@@ -154,8 +140,6 @@ export const PROVIDER_TYPE_TO_BASE_PROVIDER: Record<string, string> = {
154140
google_ai: "google_ai",
155141
google_vertex: "google_vertex",
156142
minimax: "minimax",
157-
moonshot: "moonshot",
158-
moonshot_coding: "moonshot_coding",
159143
openrouter: "openrouter",
160144
bedrock: "bedrock",
161145
};

0 commit comments

Comments
 (0)