mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 04:17:52 +00:00
bugfix in message viewing
This commit is contained in:
parent
4a4a5a82ec
commit
5e6383fb81
@ -139,8 +139,8 @@ function addMessage(sender, message, id, rank = 0, can_edit = false) {
|
||||
if (entry_counter == 0) {
|
||||
// We parse it and
|
||||
infos = JSON.parse(text)
|
||||
elements.id = infos.response_id
|
||||
elements.setSender(infos.sender)
|
||||
elements.setID(infos.response_id)
|
||||
elements.setSender(infos.bot)
|
||||
messageTextElement_ = elements['messageTextElement'];
|
||||
hiddenElement_ = elements['hiddenElement'];
|
||||
entry_counter++;
|
||||
|
Loading…
Reference in New Issue
Block a user