fix(ai): normalize kimi k2p6 alias to kimi-for-coding closes #4218

This commit is contained in:
Armin Ronacher
2026-05-06 11:34:49 +02:00
parent c9e87d2aa6
commit ace3fd7e30
2 changed files with 7 additions and 23 deletions

View File

@@ -5819,24 +5819,6 @@ export const MODELS = {
} satisfies Model<"openai-completions">,
},
"kimi-coding": {
"k2p6": {
id: "k2p6",
name: "Kimi K2.6",
api: "anthropic-messages",
provider: "kimi-coding",
baseUrl: "https://api.kimi.com/coding",
headers: {"User-Agent":"KimiCLI/1.5"},
reasoning: true,
input: ["text", "image"],
cost: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 262144,
maxTokens: 32768,
} satisfies Model<"anthropic-messages">,
"kimi-for-coding": {
id: "kimi-for-coding",
name: "Kimi For Coding",