Files
open-webui/src/lib/components
silentoplayz 7222a9aef6 fix: prevent UI freeze by initializing distances array
Fixes a bug where the UI would freeze when processing citation sources with mixed distance metrics.

The `Citations.svelte` component was attempting to call `.push()` on an `undefined` `distances` array. This happened when the first document for a source had no distance value, but a subsequent document for the same source did.

This patch ensures the `distances` array is always initialized as an empty array `[]` instead of `undefined`, preventing the `TypeError` and resolving the UI freeze.
2025-10-24 08:53:51 -04:00
..
2025-10-20 00:27:50 -04:00
2025-10-02 04:09:17 -05:00
2025-10-01 19:31:47 -05:00
2025-10-23 12:48:48 -04:00
2025-10-21 18:21:00 -04:00
2025-10-05 02:05:52 -05:00
2025-09-13 00:37:45 +04:00
2025-09-20 00:56:25 -05:00
2025-06-27 15:44:26 +04:00
2025-09-15 16:28:37 -05:00
2025-08-05 20:31:10 +04:00