mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2026-01-13 07:03:17 +08:00
fix: model error
This commit is contained in:
@@ -54,7 +54,7 @@ let api: ChatGPTAPI | ChatGPTUnofficialProxyAPI
|
||||
options.maxResponseTokens = 8192
|
||||
}
|
||||
// if use GPT-4 Turbo or GPT-4o
|
||||
else if (/-preview|-turbo|-o/.test(model.toLowerCase())) {
|
||||
else if (/-preview|-turbo|o/.test(model.toLowerCase())) {
|
||||
options.maxModelTokens = 128000
|
||||
options.maxResponseTokens = 4096
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user