Files
open-webui/backend/open_webui/routers
G30 8c7428122b fix(rag): allow special tokens in document text during chunk measurement (#26210)
Documents (especially AI/LLM documentation) legitimately contain special token strings like <|endoftext|> as literal text. The tiktoken encoder raises a ValueError when encountering these during chunk size measurement in merge_docs_to_target_size(), preventing the entire file from being indexed. Pass disallowed_special=() to encoding.encode() to treat all text as normal content.
2026-06-29 10:43:24 -05:00
..
2026-06-29 01:38:41 -05:00
2026-06-29 03:42:36 -05:00
2026-06-25 03:31:45 +01:00
2026-06-25 03:31:45 +01:00
2026-06-29 05:21:49 -05:00
2026-06-29 05:16:57 -05:00
2026-06-25 03:31:45 +01:00
2026-06-29 04:31:43 -05:00
2026-06-25 03:31:45 +01:00
2026-06-29 05:47:21 -05:00
2026-06-29 05:47:21 -05:00
2026-06-29 05:47:21 -05:00
2026-06-29 04:42:02 -05:00
2026-06-29 05:56:08 -05:00
2026-06-29 02:43:14 -05:00
2026-06-25 03:31:45 +01:00
2026-06-25 03:31:45 +01:00
2026-06-25 03:31:45 +01:00
2026-06-29 05:47:21 -05:00
2026-06-17 02:58:11 +02:00
2026-06-29 03:58:00 -05:00
2026-06-29 05:47:21 -05:00
2026-06-17 02:52:35 +02:00