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
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user