"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "e15e015db162f7236a7d38bbc7992a8076ac568a"
Commit ec9895a1 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: openai proxy issue

parent 212e0516
...@@ -197,7 +197,9 @@ async def get_all_models(): ...@@ -197,7 +197,9 @@ async def get_all_models():
"data": merge_models_lists( "data": merge_models_lists(
list( list(
map( map(
lambda response: response["data"] if response else None, lambda response: (
response["data"] if "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