This commit is contained in:
lyf
2024-08-06 16:45:01 +08:00
parent 690542145d
commit 74e4df6bc5
2 changed files with 9 additions and 3 deletions

View File

@@ -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"),
);
}