Skip to content

Commit 38fd254

Browse files
committed
fix: add small sleeps in round eval and blind select
1 parent 54775a7 commit 38fd254

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/balatrollm/bot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,10 @@ async def _run_game_loop(self, game_state: dict[str, Any]) -> None:
406406
response = await self.get_llm_response(game_state)
407407
game_state = self.process_and_execute_tool_call(response)
408408
case State.ROUND_EVAL:
409+
await asyncio.sleep(0.5)
409410
game_state = self.balatro_client.send_message("cash_out")
410411
case State.BLIND_SELECT:
412+
await asyncio.sleep(0.5)
411413
game_state = self.balatro_client.send_message(
412414
"skip_or_select_blind", arguments={"action": "select"}
413415
)

0 commit comments

Comments
 (0)