Originally created by @leobenkel on GitHub (Jun 20, 2024).
Bug Report
Description
Bug Summary:
The chat breaks when the first message is edited
Steps to Reproduce:
Drag a document ( i havent tried without the document )
Ask a question
Wait for answer
Edit the very first message in this chat
Errors in the console
Expected Behavior:
The chat should restart with this new initial message
Actual Behavior:
The chat is broken and can't be used anymore
Environment
all latest.
Firefox
Reproduction Details
Confirmation:
I have read and followed all the instructions provided in the README.md.
I am on the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
Logs and Screenshots
Browser Console Logs:
Uncaught (in promise) TypeError: currentMessage is undefined
update Chat.svelte:109
update scheduler.js:115
flush scheduler.js:79
Uncaught (in promise) TypeError: history.messages[parentId] is undefined
sendPrompt Chat.svelte:427
confirmEditMessage Messages.svelte:82
Originally created by @leobenkel on GitHub (Jun 20, 2024).
# Bug Report
## Description
**Bug Summary:**
The chat breaks when the first message is edited
**Steps to Reproduce:**
* Drag a document ( i havent tried without the document )
* Ask a question
* Wait for answer
* Edit the very first message in this chat
* Errors in the console
**Expected Behavior:**
The chat should restart with this new initial message
**Actual Behavior:**
The chat is broken and can't be used anymore
## Environment
all latest.
Firefox
## Reproduction Details
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [x] I have included the browser console logs.
## Logs and Screenshots
**Browser Console Logs:**
```
Uncaught (in promise) TypeError: currentMessage is undefined
update Chat.svelte:109
update scheduler.js:115
flush scheduler.js:79
Uncaught (in promise) TypeError: history.messages[parentId] is undefined
sendPrompt Chat.svelte:427
confirmEditMessage Messages.svelte:82
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @leobenkel on GitHub (Jun 20, 2024).
Bug Report
Description
Bug Summary:
The chat breaks when the first message is edited
Steps to Reproduce:
Expected Behavior:
The chat should restart with this new initial message
Actual Behavior:
The chat is broken and can't be used anymore
Environment
all latest.
Firefox
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
@leobenkel commented on GitHub (Jun 20, 2024):
I have just tested to edit the first message without uploading a document first and this crash as well.