mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 11:42:44 +08:00
Merge branch 'master' of https://github.com/chordfish-k/QChatGPT
This commit is contained in:
commit
393369e446
|
@ -228,7 +228,7 @@ class Session:
|
|||
self.last_interact_timestamp = int(time.time())
|
||||
|
||||
# 触发插件事件
|
||||
if self.prompt == self.get_default_prompt(get_only=True):
|
||||
if self.prompt == self.get_default_prompt(get_only = True):
|
||||
args = {
|
||||
'session_name': self.name,
|
||||
'session': self,
|
||||
|
@ -309,7 +309,7 @@ class Session:
|
|||
|
||||
# 持久化session
|
||||
def persistence(self):
|
||||
if self.prompt == self.get_default_prompt(get_only=True):
|
||||
if self.prompt == self.get_default_prompt(get_only = True):
|
||||
return
|
||||
|
||||
db_inst = pkg.utils.context.get_database_manager()
|
||||
|
|
Loading…
Reference in New Issue
Block a user