Skip to content

Commit

Permalink
do not await on sending draft requests
Browse files Browse the repository at this point in the history
  • Loading branch information
keyboardAnt committed Sep 15, 2024
1 parent 36bd080 commit a238572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poc/dsi.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ async def run(self) -> None:
curr_lookahead: int = min(self.lookahead, (self.tok_ids == -1).sum() - 1)
print(f"Manager: The current lookahead is {curr_lookahead}")
if curr_lookahead > 0:
await self._send(
self._send(
Request.create(self.get_tok_ids_with_drafts(), curr_lookahead),
self.draft_queue,
)
Expand Down

0 comments on commit a238572

Please sign in to comment.