Merge pull request #422 from stellaHSR/minecraft

Minecraft: bug fix in curriculum_agent.py
This commit is contained in:
Sirui Hong 2023-10-12 16:54:52 +08:00 committed by GitHub
commit c57da6d222
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -310,7 +310,7 @@ class CurriculumDesigner(Base):
context = self.game_memory.context
elif inventoryUsed >= 33:
context = self.generate_context_if_inventory_full(
self, events=events, chest_observation=chest_observation
events=events, chest_observation=chest_observation
)
else:
logger.info(self.game_memory.qa_cache_questions_vectordb._collection.count())