MCP servers added in Tether have IDs with colons, and Open WebUI puts the server ID in front of every MCP tool name it offers to the model. OpenAI-compatible providers only accept letters, digits, underscores and dashes in tool names, so every chat with such a server turned on was rejected with `Invalid 'tools[0].function.name'`. The same happened for MCP servers whose admin-chosen ID has dots or spaces. Characters outside that set are now replaced with underscores, so these tools reach the model and their calls still go to the right MCP server. Names that were already valid are unchanged.
Fixes#34718
When a reply broke off mid-stream and Continue Response then finished it, the old error stayed under the answer, also after a reload. Continuing now clears the old error as soon as the new attempt starts, on screen and in the saved chat. A continuation that fails again shows and saves its own error, and nothing sent to the model changes.
Fixes#34814
In the model editor's Features section, the switch that makes Web Search, Image Generation or Code Interpreter available and the switch that turns it on by default in new chats had the same name, so a screen reader announced two identical "Web Search" switches and labels. The default switches and their labels are now announced as "Start enabled in new chats: Web Search" and so on, matching the caption shown above them. The visible labels stay the same.
Fixes#34790
When a chat hits the tool call limit, or tool use stops because the same call keeps failing or a reply is cut off in the middle of a call, Open WebUI asks the model for one last answer. The instruction to stop and answer was merged into the system prompt at the very top of the conversation, so some models (Gemma 4 on vLLM, for example) kept trying to call tools and returned an empty reply. It is now sent as the last message, after the tool results, so the model reads it right before answering. The start of that last request also stays identical to the earlier ones, so provider prompt caching keeps working for it.
Fixes#34750
Without Redis, every tool list and every chat message that uses an OpenAPI tool server or a terminal downloaded the specs of all of them again and waited for each one, and an unreachable server added its full 10 second timeout every time. The specs loaded at startup and on saving the settings are now reused, the same way they are with Redis, and importing a config now refreshes them too, with or without Redis. A changed spec, or a server that was down at startup while others loaded, appears after saving the settings or a restart as with Redis, and when every server was down at startup each request still tries them again until one loads. In this test a terminal message still takes about 0.9 seconds because it reads the terminal's working directory and system prompt live on every message.
<table>
<tr><th>Servers answering in 300 ms</th><th>Before</th><th>After</th></tr>
<tr><td>Tool list (median of 10)</td><td>312 ms, 10 spec downloads</td><td>11 ms, 0</td></tr>
<tr><td>Chat message with a tool server</td><td>323 ms</td><td>33 ms</td></tr>
<tr><td>Tool list with one tool server unreachable</td><td>10988 ms</td><td>16 ms</td></tr>
<tr><td>Chat message with a terminal (median of 10)</td><td>1842 ms</td><td>934 ms</td></tr>
<tr><td>Chat message with a terminal while another is unreachable</td><td>11961 ms</td><td>932 ms</td></tr>
</table>
Fixes#34855
Every toggle in personal Settings and the Save button in General reloaded the full model list after storing the setting, which calls every connected provider live. The "Settings saved" message waited for that, so a slow connection made each click lag. None of these settings change the model list any more since personal connections were removed from user settings, so a save now just stores the setting and applies it.
<table>
<tr><td>Mock provider, 500 ms model list, 15 saves</td><td>Before</td><td>After</td></tr>
<tr><td>Interface toggle, click to save done</td><td>~580 ms</td><td>~45 ms</td></tr>
<tr><td>General Save, click to "Settings saved"</td><td>~585 ms</td><td>~70 ms</td></tr>
<tr><td>Provider model list calls per save</td><td>1</td><td>0</td></tr>
</table>
Fixes#34846
For regular users, opening the app read every file attached to their folders in full, extracted text included, one by one, only to confirm they could still see it. Files the user uploaded themselves are now confirmed with one small lookup per folder. Files shared by others still get the full access check, so files the user lost access to are still removed from the folder as before. The list and what each folder shows are unchanged.
<table>
<tr><th>30 folders x 8 files of 300 KB, SQLite</th><th>Before</th><th>After</th></tr>
<tr><td>Folder list, typical load</td><td>335 ms</td><td>44-61 ms</td></tr>
<tr><td>Database queries per load</td><td>268</td><td>59</td></tr>
</table>
Fixes#34861
A router model with its own profile image showed the default logo to every user it was shared with or made public for, and only admins saw the uploaded image. The image now follows the same access as the router model itself, so anyone who can see and chat with it in the model selector also sees its image, and users it is not shared with still get the default logo.
Fixes#34793
After selecting everything in the chat input with Ctrl+A or Cmd+A, pressing Enter did nothing. The message was not sent, and the browser console showed a RangeError. Enter now sends the message as usual, and Shift+Enter no longer logs that error.
Fixes#34758
With BYPASS_ADMIN_ACCESS_CONTROL=false, router models that never got access settings showed up in the admin's model selector, but every chat with them failed with "Model not found". This hit router models set through the ROUTER_MODELS env var or saved through the router models API without access settings, and arena models set through EVALUATION_ARENA_MODELS once the upgrade turns them into router models. Admins can now chat with them, the same way env-set arena models worked before. Regular users still cannot see or use them.
Fixes#34786
Adding already processed files to a knowledge base through the batch add API gave the knowledge base a fresh split of each file's plain text. The chunks lost the page they came from and could run across pages, so citations showed no page and RAG_SOURCE_METADATA_KEYS had nothing to pass to the model. The batch add now copies each file's existing chunks and falls back to the file's text when those chunks are missing. The duplicate content check is unchanged.
Fixes#34876
The Interface tab in Admin Settings loaded its settings first, then the saved model settings, then the model list, waiting for each before starting the next. On a remote instance every one of those waits is a full network round trip before the task model selectors show up. All of them now load together.
<table>
<tr><th>Time until the task model selectors show, provider answering in 500 ms, median of 7</th><th>Before</th><th>After</th></tr>
<tr><td>no added latency (localhost)</td><td>635 ms</td><td>621 ms</td></tr>
<tr><td>40 ms latency</td><td>711 ms</td><td>625 ms</td></tr>
<tr><td>100 ms latency</td><td>787 ms</td><td>625 ms</td></tr>
</table>
Fixes#34889
Pressing Expand above a note's chat, or Collapse in its header, removed the button that had focus, so keyboard focus fell back to the page and the next Tab started again from the top. Expanding now puts the focus in the chat's message box and collapsing gives it back to the Expand button.
Fixes#34798
With Channels turned off, or for a user without the Channels permission, every page load asked the server for the channel list right after connecting to it. The server refused, so the browser console logged a 403 (or 401) error each time. The channel list is now only requested when Channels is on and the user may use it, and it still refreshes after a reconnect when it is.
Fixes#34820
With no task model set, the title, tags and follow-ups of a router model chat went through the router again, which matched its rules against the built-in task instructions instead of the conversation. They could come from a model unrelated to the chat, and each one could cost another Decisions API call. They now run on the model the router picked for the reply, as in a direct chat with that model, make no routing call of their own and use the Local or External Task Model by that model's connection. A new router chat is titled once its message is prepared, so a stop or failure before the reply starts can leave it untitled. This covers the automatic tasks after a chat message, and voice chat and manual title generation follow separately.
Fixes#34887
Generate in a router model chat's title editor or in its sidebar rename asked the router again, which matched its rules against the built-in title instructions instead of the conversation, so the title could come from a model unrelated to the chat and each click could cost a Decisions API call. It now comes from the model the router picked for the latest reply, as in a direct chat with that model. The automatic title, tags and follow-ups after a reply are fixed in #34895.
Refs #34887
Since terminals were renamed to machines, skills that come from a machine showed an internal name such as terminal:my-skill next to them in the $ and / lists, while the Skills menu labels them Machine. Both lists now show the Machine label for them, matching the Skills menu.
Fixes#34809
Since pinned models open their new chat in a tab, that tab only showed a plain New Chat heading, so the prompt suggestions set up for the model in Workspace > Models never appeared. Picking the same model in the model selector of a new chat still showed them. A new chat tab now lists the selected model's own prompt suggestions above the message input, and they filter as you type and send exactly as on the new chat screen.
Fixes#34830
Once a cited PDF was open beside the chat, scrolling it or picking another page in the page strip broke the citation: clicking it again left the PDF where it was, and only closing the tab brought the cited page back. Every click on a citation now opens the PDF at its cited page again, wherever the reader went since.
Fixes#34834
Moves the Redis client library from 8.0.1 to 8.2.0. When a Redis server or proxy rejects the newer handshake, connecting now falls back to the older protocol by default instead of failing. On Sentinel setups, the connections behind the socket locks and shared socket state are no longer reused after an interrupted read, and Sentinel lookups no longer retry the same Sentinel. No other package changes version.
The Models tab in Admin Settings loaded the models config, the workspace models and the model list one after another, then loaded the provider model list, and after showing the list loaded the model list again. Every one of those waits costs a network round trip, so admins on a remote instance waited noticeably longer than needed. The first three now load together and the model list is only loaded once. The provider model list still loads after the model list, so the provider is still asked only once per visit.
<table>
<tr><th>Time until the list shows, provider answering in 500 ms, median of 7</th><th>Before</th><th>After</th></tr>
<tr><td>no added latency (localhost)</td><td>619 ms</td><td>620 ms</td></tr>
<tr><td>40 ms latency</td><td>730 ms</td><td>654 ms</td></tr>
<tr><td>100 ms latency</td><td>911 ms</td><td>710 ms</td></tr>
</table>
Fixes#34872
Opening a chat directly waited for the model list before it even asked for the chat, so a long chat on a slow connection added its whole download on top of the model list wait. The chat is now requested right away and the model choice, defaults and input still wait for the model list as before. The time saved is the chat download itself, so it grows with longer chats and slower links. Measured on a 500-message chat with a model list that takes 1 s, median ms until messages show and until the input is usable.
<table>
<tr><th></th><th>before</th><th>after</th></tr>
<tr><td>20 Mbit/s, messages shown</td><td>3568</td><td>3401</td></tr>
<tr><td>20 Mbit/s, input usable</td><td>3674</td><td>3485</td></tr>
<tr><td>5 Mbit/s, messages shown</td><td>7447</td><td>6442</td></tr>
<tr><td>5 Mbit/s, input usable</td><td>7519</td><td>6523</td></tr>
</table>
Fixes#34868
Opening Workspace > Models loaded every user group before it asked for the models, and nothing on the page used the groups. The list now starts loading as soon as the page opens, so it shows up one network round trip sooner. A failed groups request also no longer leaves the page blank.
<table>
<tr><th>Time to first model row (in-app click, 20 groups, 40 models)</th><th>Before</th><th>After</th></tr>
<tr><td>0 ms latency</td><td>263 ms</td><td>226 ms</td></tr>
<tr><td>50 ms latency</td><td>420 ms</td><td>327 ms</td></tr>
<tr><td>100 ms latency</td><td>658 ms</td><td>537 ms</td></tr>
</table>
Fixes#34870
In the connection lists under Admin Settings > Images & Videos and Admin Settings > Integrations (tool servers, machines and external knowledge), a screen reader announced each connection's on/off switch without saying which connection it belongs to. This came with a recent change, not yet released, that turned the connection names into buttons. Each switch is now announced as Enabled followed by its connection's name, the same way the model and tool switches in the workspace are.
Fixes#34788
With no notes yet, the Notes page told people to create their first note from the Create menu, which the notes header no longer has. The hint now points to the + menu at the top right of the page, where New Note is.
Fixes#34787
On a folder whose default machine offers coding agents, picking one of the agent models on the folder page and sending a message opened the new chat tab on the default model, so the agent never got the message. The new tab looked up the machine's agent models before it knew the folder's working directory, got the agents of the machine's default directory and dropped the picked one. The tab now starts out with the folder's directory, so the picked agent model is kept and the chat runs on it in the folder's directory.
Fixes#34803
Opening a model link (an address ending in ?model= and a model id) in a fresh page, with a machine picked earlier in the chat input's Machine menu, left the new chat without a model, and the model picker opened with the model's id in its search box. The picked machine made the model list look loaded but empty before the list had arrived, so the model looked missing. Now the new chat waits for the full list, and the link selects the model with or without a machine picked.
Fixes#34800