fix: openai proxy issue

This commit is contained in:
Timothy J. Baek 2024-03-18 11:02:09 -07:00
parent 212e051683
commit ec9895a14a

View File

@ -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,
)
)