mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 11:06:37 +08:00
gpt-4o replace
This commit is contained in:
parent
0ed79aa814
commit
d53e642438
@ -179,11 +179,12 @@ export class ChatGPTApi implements LLMApi {
|
|||||||
"gpt-4-0125-preview",
|
"gpt-4-0125-preview",
|
||||||
"gpt-4-1106-vision",
|
"gpt-4-1106-vision",
|
||||||
"gpt-4-1106-vision-preview",
|
"gpt-4-1106-vision-preview",
|
||||||
|
"gpt-4o"
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
// Check if the current model is in the list of models to replace
|
// Check if the current model is in the list of models to replace
|
||||||
const finalModel = modelsToReplace.includes(modelConfig.model) ? "gpt-4o" : modelConfig.model;
|
const finalModel = modelsToReplace.includes(modelConfig.model) ? "gpt-4o-2024-08-06" : modelConfig.model;
|
||||||
|
|
||||||
let requestPayload: RequestPayload | DalleRequestPayload;
|
let requestPayload: RequestPayload | DalleRequestPayload;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user