Fix OpenRouter Kimi K2.6 developer role

closes #5159
This commit is contained in:
Mario Zechner
2026-05-29 23:41:14 +02:00
parent 778f519b23
commit a213abb97e
3 changed files with 12 additions and 0 deletions

View File

@@ -1235,6 +1235,9 @@ async function generateModels() {
candidate.cost.cacheRead = 0.07;
candidate.maxTokens = 4096;
}
if (candidate.provider === "openrouter" && candidate.id.startsWith("moonshotai/kimi-k2.6")) {
candidate.compat = { ...candidate.compat, supportsDeveloperRole: false };
}
if (candidate.provider === "openrouter" && candidate.id === "z-ai/glm-5") {
candidate.cost.input = 0.6;
candidate.cost.output = 1.9;