This commit is contained in:
lyf
2024-08-07 10:15:39 +08:00
parent 624e4dbaaf
commit af21c57e77
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"),
);
}