rm vdb init

This commit is contained in:
stellahsr 2023-10-09 20:19:02 +08:00
parent 37a7a96bbe
commit 21639ebe96

View file

@ -106,11 +106,6 @@ class GameEnvironment(BaseModel, arbitrary_types_allowed=True):
def register_roles(self, roles: Iterable[Minecraft]):
for role in roles:
role.set_memory(self)
for act in role.vdb_actions:
logger.info(act)
act.set_qa_cache_questions_vectordb(self.qa_cache_questions_vectordb)
act.set_qa_cache(self.qa_cache)
act.set_vectordb(self.vectordb)
def update_event(self, event: Dict):
if self.event == event: