mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-10-17 16:45:23 +00: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