feat: support max reasoning effort and rebuild release
This commit is contained in:
@@ -797,7 +797,7 @@ const MCP_PROMPT_RESPONSE_MAX_CHARS = 20000;
|
||||
|
||||
// Codex 默认模型优先读取 ~/.codex/config.toml,缺失时再回退到旧默认值。
|
||||
const FALLBACK_CODEX_MODEL = 'gpt-5.4';
|
||||
const CODEX_REASONING_LEVELS = new Set(['low', 'medium', 'high', 'xhigh', 'ultra']);
|
||||
const CODEX_REASONING_LEVELS = new Set(['low', 'medium', 'high', 'xhigh', 'max', 'ultra']);
|
||||
const CCWEB_TITLE_TOOL_INSTRUCTIONS = [
|
||||
'Use the ccweb title tool sparingly. For a new chat, call "mcp__ccweb__ccweb_set_title" or "ccweb_set_title" once after the user\'s initial request is clear, and set a concise task title.',
|
||||
'Do not rename the chat for routine progress, substeps, implementation details, or slightly better wording. Rename only when the user\'s primary objective changes substantially and the existing title would be misleading.',
|
||||
@@ -10347,7 +10347,7 @@ function handleCodexAppServerExit(signature, info = {}) {
|
||||
|
||||
function codexAppModelSettings(session) {
|
||||
const raw = String(session?.model || getDefaultCodexModel() || '').trim();
|
||||
const match = raw.match(/^(.*)\((low|medium|high|xhigh|ultra)\)\s*$/i);
|
||||
const match = raw.match(/^(.*)\((low|medium|high|xhigh|max|ultra)\)\s*$/i);
|
||||
if (!match) return { model: raw || null, effort: null };
|
||||
return {
|
||||
model: String(match[1] || '').trim() || null,
|
||||
|
||||
Reference in New Issue
Block a user