Merge pull request #5399 from open-webui/main

fix: allow o1
This commit is contained in:
Timothy Jaeryang Baek
2024-09-13 15:01:48 +01:00
committed by GitHub

View File

@@ -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"]
]
)