open-webui/backend
Classic298 a01b36afe8
fix: file reading tools skip text when paging with line numbers on (#33155)
When a model reads a file or knowledge-base file in pages with line numbers turned on, the position it was told to continue from pointed past the end of the previous page, so a chunk of text between pages was silently skipped and never returned. The gap grew with every page, dropping a few percent of a large file. Reading now continues from the right place and returns every character exactly once; paging with line numbers off is unchanged.

Fixes #33099
2026-10-24 23:59:39 -05:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
open_webui fix: file reading tools skip text when paging with line numbers on (#33155) 2026-10-24 23:59:39 -05:00
.dockerignore fix: litellm config issue 2024-02-24 22:35:11 -08:00
.gitignore refac 2024-09-06 04:59:20 +02:00
dev.sh perf: allow disabling websocket per-message-deflate (#28613) 2026-08-24 18:46:07 -04:00
requirements-slim.txt chore: bump Brotli to 1.2.1 and brotlicffi to 1.2.1.0 (#33073) 2026-10-25 04:49:42 +09:00
requirements.txt fix: pin preshed so the web loader keeps working (#33103) 2026-10-25 08:07:57 +09:00
start.sh chore: Python 3.12 and Debian 13 base image (#32861) 2026-10-22 04:51:57 +09:00
start_windows.bat chore: drop nltk, unused at the pinned versions (#29725) 2026-09-06 16:39:05 -04:00