Browse Source

Merge pull request #5399 from open-webui/main

fix: allow o1
Timothy Jaeryang Baek 7 months ago
parent
commit
c1d3481c41
1 changed files with 0 additions and 3 deletions
  1. 0 3
      backend/open_webui/apps/openai/main.py

+ 0 - 3
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"]
                 ]
             )