Skip to content

Commit

Permalink
Remove old call
Browse files Browse the repository at this point in the history
  • Loading branch information
roquelopez committed Jan 26, 2024
1 parent 2627ef6 commit af893b9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions reasoning/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit af893b9

Please sign in to comment.