Fix : tts issues

This commit is contained in:
martin legrand
2025-03-04 15:13:00 +01:00
parent c3fce55667
commit 9690147000
8 changed files with 73 additions and 30 deletions
+1 -2
View File
@@ -20,8 +20,7 @@ class Memory():
recover_last_session: bool = False,
memory_compression: bool = True):
self.memory = []
self.memory = [{'role': 'user', 'content': system_prompt},
{'role': 'assistant', 'content': f'Hello, How can I help you today ?'}]
self.memory = [{'role': 'user', 'content': system_prompt}]
self.session_time = datetime.datetime.now()
self.session_id = str(uuid.uuid4())