mirror of
https://github.com/open-webui/open-webui.git
synced 2025-06-29 10:18:59 +02:00
fix: openai proxy issue
This commit is contained in:
@ -198,7 +198,9 @@ async def get_all_models():
|
||||
list(
|
||||
map(
|
||||
lambda response: (
|
||||
response["data"] if "data" in response else None
|
||||
response["data"]
|
||||
if response and "data" in response
|
||||
else None
|
||||
),
|
||||
responses,
|
||||
)
|
||||
|
Reference in New Issue
Block a user