Преглед изворни кода

Merge pull request #5399 from open-webui/main

fix: allow o1
Timothy Jaeryang Baek пре 7 месеци
родитељ
комит
c1d3481c41
1 измењених фајлова са 0 додато и 3 уклоњено
  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"]
                 ]
             )