From 5660280c51573160af9dc1921df2e93f0a7af524 Mon Sep 17 00:00:00 2001 From: Cohee Date: Tue, 11 Jul 2023 22:28:33 +0300 Subject: [PATCH] Uncap max Claude 2 context size --- public/scripts/openai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/openai.js b/public/scripts/openai.js index bea0b7470..5aca5fe49 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -1771,7 +1771,7 @@ async function onModelChange() { if (oai_settings.max_context_unlocked) { $('#openai_max_context').attr('max', unlocked_max); } - else if (value.endsWith('100k')) { + else if (value.endsWith('100k') || value.startsWith('claude-2')) { $('#openai_max_context').attr('max', claude_100k_max); } else {