mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-07-19 10:59:24 +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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user