From ae6495dc17f5c7278e7e769153691d3c7b9b1874 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Mon, 5 Jan 2026 22:32:28 +0900 Subject: [PATCH] config(fallback): use opencode/glm-4.7-free as default fallback model MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) --- src/cli/config-manager.ts | 18 +++++++++--------- src/cli/install.ts | 14 +++++++------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/cli/config-manager.ts b/src/cli/config-manager.ts index be93a48..df74908 100644 --- a/src/cli/config-manager.ts +++ b/src/cli/config-manager.ts @@ -276,22 +276,22 @@ export function generateOmoConfig(installConfig: InstallConfig): Record> = {} if (!installConfig.hasClaude) { - agents["Sisyphus"] = { model: "opencode/big-pickle" } + agents["Sisyphus"] = { model: "opencode/glm-4.7-free" } } + agents["librarian"] = { model: "opencode/glm-4.7-free" } + if (installConfig.hasGemini) { - agents["librarian"] = { model: "google/gemini-3-flash" } agents["explore"] = { model: "google/gemini-3-flash" } } else if (installConfig.hasClaude && installConfig.isMax20) { agents["explore"] = { model: "anthropic/claude-haiku-4-5" } } else { - agents["librarian"] = { model: "opencode/big-pickle" } - agents["explore"] = { model: "opencode/big-pickle" } + agents["explore"] = { model: "opencode/glm-4.7-free" } } if (!installConfig.hasChatGPT) { agents["oracle"] = { - model: installConfig.hasClaude ? "anthropic/claude-opus-4-5" : "opencode/big-pickle", + model: installConfig.hasClaude ? "anthropic/claude-opus-4-5" : "opencode/glm-4.7-free", } } @@ -300,7 +300,7 @@ export function generateOmoConfig(installConfig: InstallConfig): Record { printBox(formatConfigSummary(config), isUpdate ? "Updated Configuration" : "Installation Complete") if (!config.hasClaude && !config.hasChatGPT && !config.hasGemini) { - printWarning("No model providers configured. Using opencode/big-pickle as fallback.") + printWarning("No model providers configured. Using opencode/glm-4.7-free as fallback.") } if ((config.hasClaude || config.hasChatGPT || config.hasGemini) && !args.skipAuth) { @@ -439,7 +439,7 @@ export async function install(args: InstallArgs): Promise { s.stop(`Config written to ${color.cyan(omoResult.configPath)}`) if (!config.hasClaude && !config.hasChatGPT && !config.hasGemini) { - p.log.warn("No model providers configured. Using opencode/big-pickle as fallback.") + p.log.warn("No model providers configured. Using opencode/glm-4.7-free as fallback.") } p.note(formatConfigSummary(config), isUpdate ? "Updated Configuration" : "Installation Complete")