mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-16 23:43:03 +00:00
A chat could hard-fail in the browser with "TypeError: can't access property content" and stop rendering the assistant message until a reload. Streamed response items and content parts were placed at the index the provider reports. That index is not bounded by the length of the array the client has built up, so an entry could land past the end and leave a gap behind. Spreading the array on the next event turned that gap into a real empty entry, and the renderer then dereferenced it while looking for message text. Output items that would land past the end are now appended, since later events locate them by id anyway. Content and summary parts are padded up to the index instead, because a part carries no id and the text streamed for it is addressed by that same index. The renderer and the structured editor now skip an empty entry as well, so chats already saved in the broken state still display and edit. Fixes #29244 |
||
|---|---|---|
| .. | ||
| admin | ||
| app | ||
| automations | ||
| calendar | ||
| channel | ||
| chat | ||
| common | ||
| icons | ||
| layout | ||
| notes | ||
| playground | ||
| workspace | ||
| AddConnectionModal.svelte | ||
| AddFilesPlaceholder.svelte | ||
| AddTerminalServerModal.svelte | ||
| AddToolServerModal.svelte | ||
| AutomationModal.svelte | ||
| ChangelogModal.svelte | ||
| ImportModal.svelte | ||
| NotificationToast.svelte | ||
| OnBoarding.svelte | ||