"vscode:/vscode.git/clone" did not exist on "c7e1d3dbc7cfa563d4025dc891fa780f4cc5fdf1"
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(): ...@@ -198,7 +198,9 @@ async def get_all_models():
list( list(
map( map(
lambda response: ( lambda response: (
response["data"] if "data" in response else None response["data"]
if response and "data" in response
else None
), ),
responses, 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