refactor(librarian): switch fallback to minimax-m2.5-free → gemini-3-flash → big-pickle

This commit is contained in:
YeonGyu-Kim
2026-02-19 14:37:27 +09:00
parent 94611a9f93
commit fa8a24b0af
7 changed files with 38 additions and 38 deletions
+3 -3
View File
@@ -16,7 +16,7 @@ import {
export type { GeneratedOmoConfig } from "./model-fallback-types"
const ZAI_MODEL = "zai-coding-plan/glm-5"
const LIBRARIAN_MODEL = "opencode/minimax-m2.5-free"
const ULTIMATE_FALLBACK = "opencode/big-pickle"
const SCHEMA_URL = "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json"
@@ -52,8 +52,8 @@ export function generateModelConfig(config: InstallConfig): GeneratedOmoConfig {
const categories: Record<string, CategoryConfig> = {}
for (const [role, req] of Object.entries(AGENT_MODEL_REQUIREMENTS)) {
if (role === "librarian" && avail.zai) {
agents[role] = { model: ZAI_MODEL }
if (role === "librarian") {
agents[role] = { model: LIBRARIAN_MODEL }
continue
}