Add chat history limit for Agent and Role.

Fix bugs.
This commit is contained in:
Liu Zhicong
2023-09-27 10:09:31 -07:00
committed by tsukasa
parent 5b6de8b82b
commit 3a83783e3a
8 changed files with 25 additions and 19 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ class AIOS_Shell:
owenr.email = AIStorage.get_instance().get_user_config().get_value("email")
owenr.telegram = AIStorage.get_instance().get_user_config().get_value("telegram")
cm.add_contact(self.username,owenr)
cm.add_family_member(self.username,owenr)
knowledge_env = KnowledgeEnvironment("knowledge")