mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-20 04:47:55 +00:00
bugfix in renaming discussions
This commit is contained in:
parent
3277b81850
commit
82761a6539
2
app.py
2
app.py
@ -276,7 +276,7 @@ GPT4All:Welcome! I'm here to assist you with anything you need. What can I do fo
|
||||
data = request.get_json()
|
||||
discussion_id = data["id"]
|
||||
title = data["title"]
|
||||
self.current_discussion.rename(discussion_id, title)
|
||||
self.current_discussion.rename(title)
|
||||
return "renamed successfully"
|
||||
|
||||
def restore_discussion(self, full_message):
|
||||
|
Loading…
Reference in New Issue
Block a user