Skip to content

Commit

Permalink
bug fix in leave chatroom
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyushuo committed Oct 23, 2024
1 parent 7d59469 commit c6684b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/environments/chatroom/envs/chatroom.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def leave(self, agent: AgentBase) -> bool:
if agent.name not in self.children:
return False
del self.children[agent.name]
del self.children[agent.name]
del self.member_introduction[agent.name]
return True

@event_func
Expand Down

0 comments on commit c6684b1

Please sign in to comment.