Files
open-webui/backend/open_webui/tools
Classic298andGitHub d378fe81cb fix: file viewer tools ignore the end line when no start line is given (#33154)
The view_file and view_knowledge_file built-in tools let a model ask for a start and end line, but passing only the end line did nothing: the tool returned the first block of characters and dropped the end line without a word. Models that asked for "up to line N" kept getting the same opening slice and no error, so they retried the call over and over. An end line on its own now reads from line 1 up to that line, the same result as passing start line 1 explicitly.

Fixes #33100
2026-10-25 00:08:51 -05:00
..
2026-10-13 19:10:21 +04:00