mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-23 17:26:47 +08:00
gpt-4-turbo-preview
This commit is contained in:
@@ -103,13 +103,13 @@ export class ChatGPTApi implements LLMApi {
|
||||
"gpt-4",
|
||||
"gpt-4-0314",
|
||||
"gpt-4-0613",
|
||||
"gpt-4-32k",
|
||||
"gpt-4-turbo-preview",
|
||||
"gpt-4-32k-0314",
|
||||
"gpt-4-32k-0613",
|
||||
];
|
||||
|
||||
// Check if the current model is in the list of models to replace
|
||||
const finalModel = modelsToReplace.includes(modelConfig.model) ? "gpt-4-1106-preview" : modelConfig.model;
|
||||
const finalModel = modelsToReplace.includes(modelConfig.model) ? "gpt-4-turbo-preview" : modelConfig.model;
|
||||
|
||||
const requestPayload = {
|
||||
messages,
|
||||
|
||||
Reference in New Issue
Block a user