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 <noreply@anthropic.com>
This commit is contained in:
Loma Bot Ops
2026-11-26 09:44:25 +07:00
parent 571c24a12e
commit 7c4a24ce29
+1 -1
View File
@@ -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. */