mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-17 02:36:04 +08:00
fix: openai proxy issue
This commit is contained in:
parent
ec9895a14a
commit
b188143f01
@ -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,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user