[BUG] Incorrect context size for gpt-4-turbo-0125 #1748

This commit is contained in:
Cohee 2024-01-26 18:51:20 +02:00
parent a3e3185220
commit 4d534e3042
1 changed files with 1 additions and 7 deletions

View File

@ -3219,13 +3219,7 @@ function getMaxContextOpenAI(value) {
if (oai_settings.max_context_unlocked) {
return unlocked_max;
}
else if (value.includes('gpt-4-turbo')) {
return max_128k;
}
else if (value.includes('gpt-4-1106')) {
return max_128k;
}
else if (value.includes('gpt-4-vision')) {
else if (value.includes('gpt-4-turbo') || value.includes('gpt-4-1106') || value.includes('gpt-4-0125') || value.includes('gpt-4-vision')) {
return max_128k;
}
else if (value.includes('gpt-3.5-turbo-1106')) {