mirror of
https://github.com/open-webui/open-webui
synced 2024-11-17 22:12:51 +00:00
fix: openai proxy issue
This commit is contained in:
parent
212e051683
commit
ec9895a14a
@ -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,
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user