Фикс: reasoning effort через -c model_reasoning_effort (флага --reasoning-effort нет в codex 0.149)

This commit is contained in:
2026-08-25 22:00:11 +07:00
parent 93f71ecd3d
commit f74caadffa

View File

@@ -234,7 +234,10 @@ function runCodexEdit(jobDir, inputName, prompt) {
} }
if (process.env.CODEX_REASONING_EFFORT) { if (process.env.CODEX_REASONING_EFFORT) {
args.push("--reasoning-effort", process.env.CODEX_REASONING_EFFORT); args.push(
"-c",
`model_reasoning_effort=${process.env.CODEX_REASONING_EFFORT}`
);
} }
args.push("-i", inputName, "-o", "last_message.txt", "-"); args.push("-i", inputName, "-o", "last_message.txt", "-");