mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-20 17:22:47 +00:00
Bugfix: Verification of last discussion
This commit is contained in:
parent
49c7b360d2
commit
364c5e0e28
4
app.py
4
app.py
@ -252,9 +252,7 @@ GPT4All:Welcome! I'm here to assist you with anything you need. What can I do fo
|
||||
self.stop = True
|
||||
|
||||
try:
|
||||
if self.current_discussion is None or not self.db.does_last_discussion_have_messages(
|
||||
self.db_path
|
||||
):
|
||||
if self.current_discussion is None or not self.db.does_last_discussion_have_messages():
|
||||
self.current_discussion = self.db.create_discussion()
|
||||
|
||||
message_id = self.current_discussion.add_message(
|
||||
|
Loading…
x
Reference in New Issue
Block a user