diff --git a/public/index.html b/public/index.html index f1ec19abf..de5ba7155 100644 --- a/public/index.html +++ b/public/index.html @@ -1834,6 +1834,7 @@ + diff --git a/public/scripts/openai.js b/public/scripts/openai.js index db8f8c028..2eb07ad9a 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -2587,7 +2587,7 @@ async function onModelChange() { if (oai_settings.max_context_unlocked) { $('#openai_max_context').attr('max', unlocked_max); } - else if (value.endsWith('100k') || value.startsWith('claude-2')) { + else if (value.endsWith('100k') || value.startsWith('claude-2') || value === 'claude-instant-1.2') { $('#openai_max_context').attr('max', claude_100k_max); } else {