Opening a share link for a chat you were allowed to reply to briefly showed the owner's chat and then, now and then, switched to the home page. This happened more often on a slow connection or a busy machine. The link now goes straight to the owner's live chat for everyone allowed to reply, and still shows the read-only copy to everyone else.
Fixes#35562
Closing Settings did not take the web address back to the page it was opened from, so the next click in the sidebar carried the open Settings along and showed it again on top of the new page. Browser Back also failed to close Settings, and switching tabs inside it added extra Back steps. Closing now returns to the previous page, and Back and Forward move in and out of Settings in one step.
Fixes#35563
The 32 KiB limit for AGENTS.md files counted the heading added in front of the one in the machine's home folder as if it were file content. A home file and a folder's AGENTS.md or CLAUDE.md that together are exactly 32 KiB therefore lost the folder's instructions, while a single 32 KiB home file was accepted. The limit now counts only the files themselves, the same way for one file and for two.
Fixes#35559
Searching Notes for words that appear far into a note listed the note but showed no excerpt next to its title, because the search results only carried the start of each note. The results now carry the part of the note around the first match instead, and each result stays as small as before, so the words around the match show up wherever they are in the note. While searching, the grid preview of such a note starts near the match too. Matches near the start and matches only in the title look the same as before.
Fixes#35556
A system prompt with many repeated tool approval policy or tool list markers and no closing marker took time growing with the square of its size to clean up, tens of seconds or more for half a megabyte. The tool approval cleanup runs on every chat request and blocks the server while it runs, so one oversized request stalled every user on that server process. Both cleanups now ignore the text after the last closing marker, which can never be removed anyway, so the same input takes under a millisecond and the cleaned prompt is the same as before.
When an admin deleted an account, the tab and pane layouts that person had saved in folders stayed stored, while their chat layouts were removed. Deleting an account now also removes its folder layouts. Other people's layouts are not touched.
Fixes#35555
The frontend build workflow and two jobs in the Docker workflow ran with the repository's default token permissions, which GitHub code scanning flags. They now get read-only access, plus read access to the published images for the job that copies them to Docker Hub. Every job in both workflows now runs with explicitly set permissions.
Screen readers and voice control named many multi-line settings fields, such as the Sub-agents System prompt, the RAG Template and the Visualization Prompt, by their example text instead of the label shown above them. Every field whose label is tied to it is now named by that label. Fields whose label is not tied to them are still named by their example text, as before.
Fixes#35549
Moves FastAPI from 0.136.3 to 0.163.2. The new FastAPI needs OpenTelemetry 1.44 or newer, so the OpenTelemetry packages move from 1.42.1 to 1.44.0 (and from 0.63b1 to 0.65b0) along with it. No other package changes version. With OpenTelemetry metrics or logs on and traces off, the new FastAPI would also send its own request metrics and error logs on top of the ones Open WebUI already sends (and its metrics would not skip the excluded URLs), so that is turned off and the OpenTelemetry output stays the same as before. Sign-in, file uploads with and without metadata, chats and user search were checked against the old version and behave the same.
Co-authored-by: kamyar <932743+kamyar@users.noreply.github.com>