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():
"data": merge_models_lists(
list(
map(
lambda response: response["data"] if response else None,
lambda response: (
response["data"] if "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