mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-18 16:03:43 +08:00
enforce default model via config.ts
This commit is contained in:
@@ -184,7 +184,7 @@ export class ChatGPTApi implements LLMApi {
|
||||
];
|
||||
|
||||
// Check if the current model is in the list of models to replace
|
||||
const finalModel = modelsToReplace.includes(modelConfig.model) ? "gpt-4o-2024-08-06" : modelConfig.model;
|
||||
const finalModel = modelsToReplace.includes(modelConfig.model) ? "gpt-4o-mini" : modelConfig.model;
|
||||
|
||||
let requestPayload: RequestPayload | DalleRequestPayload;
|
||||
|
||||
|
Reference in New Issue
Block a user