dev #3

Merged
ly merged 23 commits from dev into main 2024-08-29 10:13:10 +08:00
Showing only changes of commit 33b2281b7b - Show all commits
+3
View File
@@ -27,6 +27,9 @@ class conversations:
return None return None
def add(self,user_id:str,name:str,id:str = ''): def add(self,user_id:str,name:str,id:str = ''):
import uuid
if id == '':
id= str(uuid.uuid4())
template = BaseConfig.ConversationCfg template = BaseConfig.ConversationCfg
template['id'] = id template['id'] = id
template['user_id'] = user_id template['user_id'] = user_id