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
commit c1d3481c41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

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