Forgor context size

bd30a318155aef52e08418786e8fbca6c54e09d4

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Ignore whitespace
public/scripts/openai.js+2 -2
@@ -5029,12 +5029,12 @@ async function onModelChange() {
50295029
50305030 if (oai_settings.chat_completion_source == chat_completion_sources.CLAUDE) {
50315031 if (oai_settings.max_context_unlocked) {
50325032 $('#openai_max_context').attr('max', max_200kunlocked_max);
50335033 }
50345034 else if (value.startsWith('claude-sonnet-4-5')) {
50355035 $('#openai_max_context').attr('max', max_1mil);
50365036 }
50375037 else if (value == 'claude-2.1' || value.startsWith('claude-3') || value.startsWith('claude-opus') || value.startsWith('claude-haiku') || value.startsWith('claude-sonnet')) {
50385038 $('#openai_max_context').attr('max', max_200k);
50395039 }
50405040 else if (value.endsWith('100k') || value.startsWith('claude-2') || value === 'claude-instant-1.2') {