Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
XuhuiZhou committed Nov 23, 2024
1 parent e7cb5d6 commit 8c9d811
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sotopia-chat/chat_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,10 @@ async def _assign_left_or_right_and_run(session_id: str) -> None:
case 2:
if await r.llen("chat_server_combos_double") == 0:
await gather(
_assign_left_or_right_and_run(session_id)
for session_id in session_ids
*[
_assign_left_or_right_and_run(session_id)
for session_id in session_ids
]
)
else:
agent_env_combo_pk: str = (
Expand Down

0 comments on commit 8c9d811

Please sign in to comment.