Files
open-webui/backend/open_webui
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-17 02:52:35 +02:00
2026-06-29 05:49:49 -05:00
2026-06-29 06:08:31 -05:00
2026-06-29 03:58:00 -05:00
2026-06-01 14:10:40 -07:00
2026-06-29 06:01:05 -05:00
2026-06-17 03:01:11 +02:00
2026-06-29 05:46:47 -05:00
2026-06-29 05:46:51 -05:00
2026-06-29 03:42:36 -05:00
2026-06-25 15:56:10 +01:00