From 41bf001799341d7d2701592517c5a0819fa77a13 Mon Sep 17 00:00:00 2001 From: stellahsr Date: Thu, 12 Oct 2023 19:19:48 +0800 Subject: [PATCH] bug fix: just obtain event instead of execute_event --- metagpt/roles/minecraft/critic_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metagpt/roles/minecraft/critic_agent.py b/metagpt/roles/minecraft/critic_agent.py index 9bc34cbcc..afce29ea2 100644 --- a/metagpt/roles/minecraft/critic_agent.py +++ b/metagpt/roles/minecraft/critic_agent.py @@ -156,7 +156,7 @@ class CriticReviewer(Base): self.maintain_actions(todo) # 获取最新的游戏周边信息 - events = await self._execute_events() + events = await self._obtain_events() self.perform_game_info_callback(events, self.game_memory.update_chest_memory) # logger.info(f"Execute return event is {self.game_memory.event}") context = self.game_memory.context