From fc48df1d538edc5572cfe373642104b640eadf54 Mon Sep 17 00:00:00 2001 From: MoerAI Date: Mon, 16 Mar 2026 19:21:10 +0900 Subject: [PATCH] fix(cli): replace dead glm-4.7-free with gpt-5-nano as ultimate fallback The opencode/glm-4.7-free model was removed from the OpenCode platform, causing the ULTIMATE_FALLBACK in the CLI installer to point to a dead model. Users installing OMO without any major provider configured would get a non-functional model assignment. Replaced with opencode/gpt-5-nano which is confirmed available per user reports and existing fallback chains in model-requirements.ts. Fixes #2101 --- src/cli/model-fallback.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/model-fallback.ts b/src/cli/model-fallback.ts index 1f2515b4a..f0b044978 100644 --- a/src/cli/model-fallback.ts +++ b/src/cli/model-fallback.ts @@ -19,7 +19,7 @@ export type { GeneratedOmoConfig } from "./model-fallback-types" const ZAI_MODEL = "zai-coding-plan/glm-4.7" -const ULTIMATE_FALLBACK = "opencode/glm-4.7-free" +const ULTIMATE_FALLBACK = "opencode/gpt-5-nano" const SCHEMA_URL = "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/oh-my-opencode.schema.json"