This commit is contained in:
Cohee
2025-05-22 21:14:13 +03:00
parent ade45b6cd1
commit edf307aa9c
18 changed files with 15 additions and 28 deletions

View File

@@ -4659,7 +4659,7 @@ async function onModelChange() {
if (oai_settings.max_context_unlocked) {
$('#openai_max_context').attr('max', max_200k);
}
else if (value == 'claude-2.1' || value.startsWith('claude-3')) {
else if (value == 'claude-2.1' || value.startsWith('claude-3') || value.startsWith('claude-opus') || value.startsWith('claude-sonnet')) {
$('#openai_max_context').attr('max', max_200k);
}
else if (value.endsWith('100k') || value.startsWith('claude-2') || value === 'claude-instant-1.2') {