open-webui/src/lib/components
Classic298 1f529c4eb3
fix: structured output renderer crashing on an empty output slot (#29250)
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
2026-08-30 11:56:41 -04:00
..
admin refac: align the admin Users tab counts with the workspace tab count behavior (#29080) 2026-08-27 16:45:34 -04:00
app refac 2026-07-27 19:24:03 -04:00
automations chore: format 2026-08-25 16:53:53 -04:00
calendar fix: keep a calendar event visible after its date is moved (#29085) 2026-08-27 16:44:58 -04:00
channel refac 2026-08-24 17:25:33 -04:00
chat fix: structured output renderer crashing on an empty output slot (#29250) 2026-08-30 11:56:41 -04:00
common fix: prevent valve inputs from overflowing the valves modal (#29203) 2026-08-29 14:52:29 -04:00
icons fix: left-edge clipping of the terminal cloud icon and account profile avatar (#27691) 2026-08-10 23:28:17 -06:00
layout fix: name the Folder modal close button (WCAG 4.1.2) (#29160) 2026-08-28 17:49:22 -04:00
notes refac 2026-08-24 06:25:09 -04:00
playground a11y 2026-08-11 01:25:20 -06:00
workspace refac 2026-08-28 12:18:37 -04:00
AddConnectionModal.svelte refac 2026-08-25 14:35:22 -04:00
AddFilesPlaceholder.svelte refac 2026-07-14 04:15:20 -04:00
AddTerminalServerModal.svelte chore: format 2026-08-25 16:53:53 -04:00
AddToolServerModal.svelte refac 2026-08-25 13:51:58 -04:00
AutomationModal.svelte refac 2026-08-13 16:42:10 -06:00
ChangelogModal.svelte fix: stop the What's New modal drawing two bullets per changelog entry (#28676) 2026-08-17 00:40:57 -06:00
ImportModal.svelte refac 2026-07-15 04:25:51 -04:00
NotificationToast.svelte a11y 2026-08-11 01:25:20 -06:00
OnBoarding.svelte refac 2026-08-10 18:52:18 -06:00