旧版本数据库兼容

This commit is contained in:
LINSTCL
2023-03-02 19:40:36 +08:00
parent f7830b5e9d
commit 19289527ae
3 changed files with 57 additions and 7 deletions

View File

@@ -227,7 +227,7 @@ class DatabaseManager:
'subject_number': subject_number,
'create_timestamp': create_timestamp,
'last_interact_timestamp': last_interact_timestamp,
'prompt': json.loads(prompt)
'prompt': prompt
})
return sessions