fix(category-resolver): add kimi to unstable agent detection, check category config model

🤖 Generated with assistance of [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2026-02-21 03:33:37 +09:00
parent 2c3ee36059
commit 8f31bfbb00
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -170,7 +170,8 @@ Available categories: ${categoryNames.join(", ")}`,
}
const unstableModel = actualModel?.toLowerCase()
const isUnstableAgent = resolved.config.is_unstable_agent === true || (unstableModel ? unstableModel.includes("gemini") || unstableModel.includes("minimax") : false)
const categoryConfigModel = resolved.config.model?.toLowerCase()
const isUnstableAgent = resolved.config.is_unstable_agent === true || [unstableModel, categoryConfigModel].some(m => m ? m.includes("gemini") || m.includes("minimax") || m.includes("kimi") : false)
return {
agentToUse: SISYPHUS_JUNIOR_AGENT,