Update curriculum_agent.py

fix bug:  rm self
This commit is contained in:
Sirui Hong 2023-10-12 16:48:58 +08:00 committed by GitHub
parent 8a7d96d507
commit 5a2ea51544
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())