From bc0baa35e696ee5bfb23b8158d5c1efd2a631d45 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Fri, 13 Sep 2024 09:59:41 -0400 Subject: [PATCH] fix: allow o1 --- backend/open_webui/apps/openai/main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/open_webui/apps/openai/main.py b/backend/open_webui/apps/openai/main.py index e8fd81d45..19719d234 100644 --- a/backend/open_webui/apps/openai/main.py +++ b/backend/open_webui/apps/openai/main.py @@ -218,9 +218,6 @@ def merge_models_lists(model_lists): "urlIdx": idx, } for model in models - if "api.openai.com" - not in app.state.config.OPENAI_API_BASE_URLS[idx] - or "gpt" in model["id"] ] )