Update curriculum_agent.py

rm self
This commit is contained in:
Sirui Hong 2023-10-13 20:14:02 +08:00 committed by GitHub
parent 3613b9a56e
commit 184359b4e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -276,7 +276,7 @@ class CurriculumDesigner(Base):
task = self.game_memory.current_task
elif inventoryUsed >= 33:
task = self.generate_task_if_inventory_full(
self, events=events, chest_observation=chest_observation
events=events, chest_observation=chest_observation
)
else:
task = await DesignTask().run(human_msg, system_msg, *args, **kwargs)