From 0bd20682bcb2c84862a99abebc11b6274b55e44d Mon Sep 17 00:00:00 2001 From: Sanjay Nadhavajhala Date: Mon, 12 Feb 2024 22:39:18 -0800 Subject: [PATCH] fix frontend list assistants issue --- .../ui/app/pages/2_\360\237\244\226_Explore_Assistants.py" | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git "a/services/frontend/ui/app/pages/2_\360\237\244\226_Explore_Assistants.py" "b/services/frontend/ui/app/pages/2_\360\237\244\226_Explore_Assistants.py" index 4141b6d..c6681d4 100644 --- "a/services/frontend/ui/app/pages/2_\360\237\244\226_Explore_Assistants.py" +++ "b/services/frontend/ui/app/pages/2_\360\237\244\226_Explore_Assistants.py" @@ -10,12 +10,11 @@ def get_all_assistants(): all_assistants = [] + after = None while True: response = rubra_client.beta.assistants.list(limit=100, after=after) assistants = response.data - all_assistants.extend(assistants) - if len(assistants) < 100: break else: