Add new GPT 3.5 turbo model

This commit is contained in:
Cohee
2023-11-07 00:10:32 +02:00
parent 2018a6d94a
commit 2020d12217
2 changed files with 7 additions and 0 deletions

View File

@ -2801,6 +2801,9 @@ function getMaxContextOpenAI(value) {
else if (value.includes('gpt-4-1106')) {
return max_128k;
}
else if (value.includes('gpt-3.5-turbo-1106')) {
return max_16k;
}
else if (['gpt-4', 'gpt-4-0314', 'gpt-4-0613'].includes(value)) {
return max_8k;
}
@ -2832,6 +2835,9 @@ function getMaxContextWindowAI(value) {
else if (value.includes('claude')) {
return claude_max;
}
else if (value.includes('gpt-3.5-turbo-1106')) {
return max_16k;
}
else if (value.includes('gpt-3.5-turbo-16k')) {
return max_16k;
}