mirror of
https://github.com/open-webui/open-webui
synced 2025-06-04 03:37:35 +00:00
fix: allow o1
This commit is contained in:
parent
e510c8b11f
commit
bc0baa35e6
@ -218,9 +218,6 @@ def merge_models_lists(model_lists):
|
|||||||
"urlIdx": idx,
|
"urlIdx": idx,
|
||||||
}
|
}
|
||||||
for model in models
|
for model in models
|
||||||
if "api.openai.com"
|
|
||||||
not in app.state.config.OPENAI_API_BASE_URLS[idx]
|
|
||||||
or "gpt" in model["id"]
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user