Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghaisheng committed Jul 26, 2024
1 parent 43fb81e commit 3c616b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ async def runtime(self, context: dict):
max_results=self.max_results,
sort_by=arxiv.SortCriterion.SubmittedDate
).results()
print(f"Query results: {list(res)}")
print(f"Query results: {len(list(res))}")
context.update({"response": res, "hook": context})
await self.worker.put(context)
except Exception as e:
Expand Down

0 comments on commit 3c616b2

Please sign in to comment.