Change the way, memory is logged.
This commit is contained in:
@@ -163,6 +163,7 @@ class AIResponder(AIResponderBase):
|
||||
if self.memory_file.exists():
|
||||
with open(self.memory_file, 'rb') as fd:
|
||||
self.memory = pickle.load(fd)
|
||||
logging.info(f'memmory:\n{self.memory}')
|
||||
|
||||
def message(self, message: AIMessage, limit: Optional[int] = None) -> List[Dict[str, Any]]:
|
||||
messages = []
|
||||
|
||||
Reference in New Issue
Block a user