diff --git a/web/static/js/chat.js b/web/static/js/chat.js index ddf15c4a..4bbf9854 100644 --- a/web/static/js/chat.js +++ b/web/static/js/chat.js @@ -574,7 +574,7 @@ function restoreChatReasoningControlsFromStorage() { } if (e) { const v = localStorage.getItem(REASONING_EFFORT_LS); - if (v !== null && ['', 'low', 'medium', 'high', 'max'].indexOf(v) !== -1) { + if (v !== null && ['', 'low', 'medium', 'high', 'max', 'xhigh'].indexOf(v) !== -1) { e.value = v; } } diff --git a/web/static/js/settings.js b/web/static/js/settings.js index 06f221b1..fef8d22e 100644 --- a/web/static/js/settings.js +++ b/web/static/js/settings.js @@ -184,7 +184,7 @@ async function loadConfig(loadTools = true) { const orEffEl = document.getElementById('openai-reasoning-effort'); if (orEffEl) { const ev = (orm.effort || '').toString().trim().toLowerCase(); - orEffEl.value = ['', 'low', 'medium', 'high', 'max'].includes(ev) ? ev : ''; + orEffEl.value = ['', 'low', 'medium', 'high', 'max', 'xhigh'].includes(ev) ? ev : ''; } const orProfEl = document.getElementById('openai-reasoning-profile'); if (orProfEl) { diff --git a/web/templates/index.html b/web/templates/index.html index 5f69adc1..af53fd00 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -833,6 +833,7 @@ + @@ -2122,6 +2123,7 @@ +