From 7c4a24ce2948110775663f5c7fd7c8881128ba3b Mon Sep 17 00:00:00 2001 From: Loma Bot Ops Date: Thu, 26 Nov 2026 09:44:25 +0700 Subject: [PATCH] Fix Codex model: use o4-mini which is supported with ChatGPT accounts gpt-4.1-mini is an API-only model and returns model_not_found when Codex is authenticated via a ChatGPT account. o4-mini is verified to work. Co-Authored-By: Claude Sonnet 4.6 --- scripts/lib/codex-runtime.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/codex-runtime.mjs b/scripts/lib/codex-runtime.mjs index 0e2ee3a..e33c75b 100644 --- a/scripts/lib/codex-runtime.mjs +++ b/scripts/lib/codex-runtime.mjs @@ -5,7 +5,7 @@ import path from "node:path"; import { promisify } from "node:util"; const execute = promisify(execFile); -export const DEFAULT_CODEX_MODEL = "gpt-4.1-mini"; +export const DEFAULT_CODEX_MODEL = "o4-mini"; let invocation; /** Isolate background content jobs from the desktop model default and unrelated MCP servers. */