mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
fix: openai proxy issue
This commit is contained in:
@@ -197,7 +197,9 @@ async def get_all_models():
|
||||
"data": merge_models_lists(
|
||||
list(
|
||||
map(
|
||||
lambda response: response["data"] if response else None,
|
||||
lambda response: (
|
||||
response["data"] if "data" in response else None
|
||||
),
|
||||
responses,
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user