Uncap max Claude 2 context size

This commit is contained in:
Cohee
2023-07-11 22:28:33 +03:00
parent 040380e0fb
commit 5660280c51

View File

@@ -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 {