mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: 模型maxToken更新 gpt4后续更新
This commit is contained in:
parent
ce65cc862f
commit
e29e370f25
1 changed files with 3 additions and 1 deletions
|
|
@ -832,8 +832,10 @@ export function getMaxModelTokens (model = 'gpt-3.5-turbo') {
|
|||
if (model.startsWith('gpt-3.5-turbo')) {
|
||||
if (model.includes('16k')) {
|
||||
return 16000
|
||||
} else {
|
||||
} else if (model.includes('0613') || model.includes('0314')) {
|
||||
return 4000
|
||||
} else {
|
||||
return 16000
|
||||
}
|
||||
} else {
|
||||
if (model.includes('32k')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue