From 42138ca09bbf410b8deabc6d5312a5ba1eba19d9 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Thu, 4 Apr 2024 20:38:34 +0300 Subject: [PATCH] Add command-r-plus --- public/index.html | 1 + public/scripts/openai.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 9c9d36693..f4b1586c7 100644 --- a/public/index.html +++ b/public/index.html @@ -2691,6 +2691,7 @@ + diff --git a/public/scripts/openai.js b/public/scripts/openai.js index a5eb38bab..59256df75 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -3661,7 +3661,7 @@ async function onModelChange() { else if (['command-light-nightly', 'command-nightly'].includes(oai_settings.cohere_model)) { $('#openai_max_context').attr('max', max_8k); } - else if (['command-r'].includes(oai_settings.cohere_model)) { + else if (['command-r', 'command-r-plus'].includes(oai_settings.cohere_model)) { $('#openai_max_context').attr('max', max_128k); } else {