New OAI models

This commit is contained in:
Cohee
2024-01-25 22:01:02 +02:00
parent aa1d2a7260
commit 40476dca3b
2 changed files with 15 additions and 9 deletions

View File

@ -3122,6 +3122,9 @@ 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;
}