* refac: chat input reads its terminal from the chat it belongs to
The message input with its menus, skills dialog and command lists read the selected terminal and the terminal's skills from one page-wide place. They now get both from the chat they are part of. Every chat still hands over the same page-wide selection, so nothing changes for users. This prepares for chats that run next to the main chat and keep their own terminal; the text editor inside the input, the message list, the model list and the current side chat's own request still look the terminal up page-wide.
* refac: the chat builds the key for its unsent input in one place
The chat spelled out the storage key for its unsent input in six places. One function builds it now, with the same keys as before, so nothing changes for users. This prepares for chats that run next to the main chat and keep their unsent input apart.
* fix: two chats on one page take each other's unsent text, input requests and regenerate shortcut
With a chat open next to a note, three things reached the wrong chat. Text typed into a new chat next to a note replaced the unsent text of a new main chat. An input request from a tool was answered as cancelled by the other chat on the page before its dialog could show. The regenerate shortcut, pressed in the main chat's input, regenerated the note chat's answer. Each chat now keeps its own unsent text and leaves the other chat's input requests alone, and the shortcut takes the main chat's last answer.
* refac: let the chat run inside a side chat tab
A second copy of the chat can already run on the same page, next to a note. This prepares it to run in a side chat tab too: it can be opened with a given conversation, unsent input and first message, and it sends the parent chat's messages to the model as context while showing only what was written in the side chat. A chat in a side tab keeps away from what belongs to the main chat: it uses the main chat's terminal without changing it, and it leaves the last used model, sign-in redirects and prompts sent by embeds to the main chat. Nothing opens a chat in a side tab yet, so the main chat and the chat next to a note behave as before.
* refac: side chat uses the same chat as the main view
The side chat was a separate, reduced version of the chat with its own code for sending, streaming and loading, so many chat features were missing or behaved differently there. A side chat tab now runs the same chat as the main view and the separate version is removed. Message buttons, sources, token usage, follow-ups, slash commands, queued messages, chat variables and tool events such as code execution and input requests now work in a side chat. Chats saved by the old side chat still open, and in most places where the old side chat had its own rules it now follows the main chat, for example it can answer with several models at once and shows errors as notifications. A new chat opened in a tab on its own, for example from a pinned model, no longer gets the neighbouring chat's system prompt and the side conversation instruction saved as its own.
Fixes#34029
The Temporary Chat button puts `?temporary-chat=true` into the address of a new chat, and a page reload reads it there. Before the first message was sent the address lost it (after switching to the Notes tab and back to the chat tab, after opening a folder or after a reload while a folder is open) while the Temporary Chat label still showed, so the next reload opened a normal chat and a message sent then was saved. While a new chat is the active tab, its address now carries `?temporary-chat=true` whenever Temporary Chat is on (also when it was turned on by the keyboard shortcut, by Temporary Chat by Default or by enforced temporary chats) and no longer carries it when Temporary Chat is off. An existing quirk remains: reload a temporary new chat, turn Temporary Chat off and send a message, then start a new chat from the chat header on a small screen or delete or archive that chat, and the new chat is temporary again. This now also happens when the reloaded chat was made temporary with the keyboard shortcut and, from the chat header only, with Temporary Chat by Default.
A sub-agent could not see the files of the chat that handed it the task, the files it wrote never showed up in that chat, and its extra machine kept running after it finished. It now works in that chat's machine, the same way it already did on a terminal set to one machine per user.
A note whose Markdown contains a footnote reference, for example one written by the Notes tool, threw an error on opening and its content never showed. The note now opens and the footnote marker is kept in the text.
Fixes#33986
Dragging the divider of the right-hand panel made the Browser tab flicker and the page resize in slow motion, because the browser size was re-sent on every step of the drag. The size is now sent once, shortly after the drag stops, while the preview still shrinks with the panel. In a scripted 60-step drag the number of size updates dropped from 60 to 1.
The image used to install only the directly pinned packages and resolved everything below them fresh from PyPI on every build, so the same commit could produce different images. The standard and slim images now install from lock files that pin every package with hashes, except PyTorch and its few own dependencies, which still come from the PyTorch index so the CPU and CUDA variants keep working. A new CI check fails when a requirements file changes without regenerating its lock, and the script that regenerates them sits next to the requirements.
Fixes#33979
With the embedding model set to a folder on disk (for example RAG_EMBEDDING_MODEL=/app/backend/models/MiniLM-embedding), every Save in Admin Settings > Documents showed "Model filesystem path detected. Model shortname is required for update, cannot continue.", although the model loads and works. The embedding model's own update button refused the path the same way. A model folder now saves and updates like a model name.
Fixes#33977
A chat with a coding agent that was started with a terminal selected kept the default title, even with title generation on and a task model set. The title is now generated once the agent has replied, the same way as for any other model.
Fixes#33970
A tool call the model wrote as compact JSON, as most models do, was sent back to the model with a space added after every comma and colon, in every request after the tool ran. The model now gets its tool call arguments back exactly as it wrote them whenever they were valid JSON, so a model server that caches the model's earlier output can keep using that cache. Arguments that Open WebUI had to repair before the tool could run, such as JSON wrapped in a code block or written with Python-style True and None, still go back in their repaired form.
Fixes#33958
Picking a different terminal for a chat left the open Files tab showing the previous terminal's folder and files, while the chat itself was set to the new terminal. Seeing the new terminal's files meant opening Files again from the + menu. The Files tab now moves to the newly picked terminal and shows its files, as the file browser did in 0.12. With a terminal set to Per chat, the tab shows that chat's own files once the first message creates the chat.
Fixes#33951