mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-14 05:02:01 -06:00
Asking for a line range (for example the whole file by its last line number) returned every requested line, however large, so one tool call could exceed the model's context window and fail the chat. Line ranges now stop at the last whole line that fits the same limit as character reads, and report where to continue from. Fixes #33607