From af893b9f20a3a31b4b8bb226731233c497b92fc8 Mon Sep 17 00:00:00 2001 From: Roque Lopez Date: Thu, 25 Jan 2024 22:22:23 -0500 Subject: [PATCH] Remove old call --- reasoning/main.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/reasoning/main.py b/reasoning/main.py index a03759f..62fb9d1 100644 --- a/reasoning/main.py +++ b/reasoning/main.py @@ -101,12 +101,7 @@ async def run_reasoning(self, prefix=''): async def run(self, *args, **kwargs): while True: try: - recipe = self.api.session.current_recipe() - if recipe: - await self.run_reasoning(*args, **kwargs) - else: - print(recipe) - await asyncio.sleep(1) + await self.run_reasoning(*args, **kwargs) except Exception: import traceback traceback.print_exc()