mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-02-16 09:55:28 +00:00
feat: improve GPT-3.5 Turbo 16k support (#2049)
Reference: - https://platform.openai.com/docs/models/gpt-3-5-turbo
This commit is contained in:
parent
6432efeb35
commit
8dd447ce69
@ -64,7 +64,7 @@ let api: ChatGPTAPI | ChatGPTUnofficialProxyAPI
|
||||
}
|
||||
}
|
||||
else if (model.toLowerCase().includes('gpt-3.5')) {
|
||||
if (model.toLowerCase().includes('16k')) {
|
||||
if (/16k|1106|0125/.test(model.toLowerCase())) {
|
||||
options.maxModelTokens = 16384
|
||||
options.maxResponseTokens = 4096
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user