Update Moonshot Kimi model references to kimi-k2.5

This commit is contained in:
Boran Cui 2026-01-27 21:15:57 +08:00 committed by Shadow
parent 394308076a
commit b8aa041dcc

View File

@ -31,7 +31,7 @@ const MINIMAX_API_COST = {
}; };
const MOONSHOT_BASE_URL = "https://api.moonshot.ai/v1"; const MOONSHOT_BASE_URL = "https://api.moonshot.ai/v1";
const MOONSHOT_DEFAULT_MODEL_ID = "kimi-k2-0905-preview"; const MOONSHOT_DEFAULT_MODEL_ID = "kimi-k2.5";
const MOONSHOT_DEFAULT_CONTEXT_WINDOW = 256000; const MOONSHOT_DEFAULT_CONTEXT_WINDOW = 256000;
const MOONSHOT_DEFAULT_MAX_TOKENS = 8192; const MOONSHOT_DEFAULT_MAX_TOKENS = 8192;
const MOONSHOT_DEFAULT_COST = { const MOONSHOT_DEFAULT_COST = {
@ -275,7 +275,7 @@ function buildMoonshotProvider(): ProviderConfig {
models: [ models: [
{ {
id: MOONSHOT_DEFAULT_MODEL_ID, id: MOONSHOT_DEFAULT_MODEL_ID,
name: "Kimi K2 0905 Preview", name: "Kimi K2.5",
reasoning: false, reasoning: false,
input: ["text"], input: ["text"],
cost: MOONSHOT_DEFAULT_COST, cost: MOONSHOT_DEFAULT_COST,