fix: openai connection config

This commit is contained in:
Timothy Jaeryang Baek
2024-11-21 20:49:40 -08:00
parent e18a43aec8
commit 4b83a83576
2 changed files with 3 additions and 1 deletions

View File

@@ -302,6 +302,8 @@ async def get_all_models_responses() -> list:
}
tasks.append(asyncio.ensure_future(asyncio.sleep(0, model_list)))
else:
tasks.append(asyncio.ensure_future(asyncio.sleep(0, None)))
responses = await asyncio.gather(*tasks)