fix: pipelines

This commit is contained in:
Timothy J. Baek
2024-05-29 22:41:51 -07:00
parent 7cec88c776
commit 4715160b53
4 changed files with 185 additions and 181 deletions

View File

@@ -219,7 +219,7 @@ def merge_models_lists(model_lists):
return merged_list
async def get_all_models():
async def get_all_models(raw: bool = False):
log.info("get_all_models()")
if (
@@ -236,6 +236,9 @@ async def get_all_models():
responses = await asyncio.gather(*tasks)
log.debug(f"get_all_models:responses() {responses}")
if raw:
return responses
models = {
"data": merge_models_lists(
list(