Open 0xOberon opened 4 months ago
self.rpg_maze = MazeController(10, 10, npcs=[self.guardian_npc])
On line 54 of the current state of the simple_universe.py file only a single Guardian npc is passed to the maze explorer. Maybe it's only returning the Guardian as the only speaker because of this reason. However, I'll keep investigating.
The SaturnChatApp keeps you talking to a Guardian instead of updating the groupchat and removing the Guardian when making the decision to move. Debug the code so that it's the explorer who's talking instead of a single NPC.
One way I think you can do is instead maintaining the same group chat through out the game, you can instantiate a new group chat each time you agent move in the maze. Basically you use the group chat as a way to make decision. This way each time your agent makes a decision, you can create a different group chat dynamically given the situation in the game - Eric Zhu
CODE REFERENCE: https://github.com/SaturnSeries/saturn.chat/blob/830ae1f88da24fedcf4301cecaaa2f4f5a4b2085/simple_universe.py#L427-L464