mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-29 15:44:12 +00:00
bugfix: discussion creation
This commit is contained in:
parent
eead6bec64
commit
ed8181aa53
2
app.py
2
app.py
@ -255,7 +255,7 @@ GPT4All:Welcome! I'm here to assist you with anything you need. What can I do fo
|
||||
if self.current_discussion is None or not self.db.does_last_discussion_have_messages(
|
||||
self.db_path
|
||||
):
|
||||
self.current_discussion = Discussion.create_discussion(self.db_path)
|
||||
self.current_discussion = DiscussionsDB.create_discussion()
|
||||
|
||||
message_id = self.current_discussion.add_message(
|
||||
"user", request.json["message"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user