feat: support max reasoning effort and rebuild release
This commit is contained in:
@@ -211,7 +211,7 @@ function createAgentRuntime(deps) {
|
||||
// cc-web UI supports "gpt-5.4(high)" style selection, but Codex CLI expects:
|
||||
// - model: "gpt-5.4"
|
||||
// - reasoning effort: config key `model_reasoning_effort = "high"`
|
||||
const m = raw.match(/^(.*)\((low|medium|high|xhigh|ultra)\)\s*$/i);
|
||||
const m = raw.match(/^(.*)\((low|medium|high|xhigh|max|ultra)\)\s*$/i);
|
||||
if (m) {
|
||||
const base = String(m[1] || '').trim();
|
||||
const lvl = String(m[2] || '').trim().toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user