Explorar el Código

Merge pull request #5399 from open-webui/main

fix: allow o1
Timothy Jaeryang Baek hace 8 meses
padre
commit
c1d3481c41
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  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"]
                 ]
             )