gpt4禁止问题

This commit is contained in:
lyf
2024-08-06 20:34:16 +08:00
parent 5629f842da
commit 41ba8a2a08
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"),
);
}