[BUG] Incorrect context size for gpt-4-turbo-0125 #1748
This commit is contained in:
parent
a3e3185220
commit
4d534e3042
|
@ -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')) {
|
||||
|
|
Loading…
Reference in New Issue