Unverified Commit d865b9fe authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #1199 from open-webui/dev

fix: openai proxy issue
parents 621719c6 b188143f
......@@ -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,
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment