mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 08:07:34 +08:00
ban gpt4
This commit is contained in:
@@ -13,7 +13,7 @@ function getModels(remoteModelRes: OpenAIListModelResponse) {
|
||||
|
||||
if (config.disableGPT4) {
|
||||
remoteModelRes.data = remoteModelRes.data.filter(
|
||||
(m) => !m.id.startsWith("gpt-4"),
|
||||
(m) => !m.id.startsWith("gpt-4") || m.id.startsWith("gpt-40-mini"),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user