refactor(models): upgrade zai-coding-plan default from glm-4.7 to glm-5

This commit is contained in:
YeonGyu-Kim
2026-02-19 14:29:05 +09:00
parent 86a1bfa493
commit c8eb0dbae3
14 changed files with 50 additions and 50 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ export function fuzzyMatchModel(
}
// Priority 2: Exact model ID match (part after provider/)
// This ensures "big-pickle" matches "zai-coding-plan/big-pickle" over "zai-coding-plan/glm-4.7"
// This ensures "big-pickle" matches "zai-coding-plan/big-pickle" over "zai-coding-plan/glm-5"
// Use filter + shortest to handle multi-provider cases (e.g., openai/gpt-5.2 + opencode/gpt-5.2)
const exactModelIdMatches = matches.filter((model) => {
const modelId = model.split("/").slice(1).join("/")