open-webui/backend
Classic298 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
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
open_webui fix: file viewer tools ignore the end line when no start line is given (#33154) 2026-10-25 00:08:51 -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