Fix Codex model and schema: revert to gpt-5.6-sol, strip $schema from Zod output
RCA: - gpt-5.6-sol is the only model supported by this ChatGPT account; other models (gpt-4.1-mini, o4-mini, gpt-4o) all return model_not_in_accessible_catalog - Zod v4 toJSONSchema emits a $schema meta field that gpt-5.6-sol rejects as an invalid schema keyword; strip it before passing to the automation worker Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@ import path from "node:path";
|
||||
import { promisify } from "node:util";
|
||||
|
||||
const execute = promisify(execFile);
|
||||
export const DEFAULT_CODEX_MODEL = "o4-mini";
|
||||
export const DEFAULT_CODEX_MODEL = "gpt-5.6-sol";
|
||||
let invocation;
|
||||
|
||||
/** Isolate background content jobs from the desktop model default and unrelated MCP servers. */
|
||||
|
||||
Reference in New Issue
Block a user