Clicking Continue under a reply whose model was removed or is offline seemed to do nothing, but it marked the reply as still generating. The next message the user sent then flipped that old reply back into the generating state with a stop button, and was sent as queued behind a reply that was not running. Now Continue shows a "Model not found" error and leaves the reply as it was, and the next message sends normally.
Fixes#35260
An automation with an expiry stops running once the expiry passes, but the Calendar's Scheduled Tasks and the upcoming runs the automation reports, on its page and to the model, kept listing every run of its schedule, including the ones after the expiry. These now end before the expiry, so they only list runs that will really happen; a run set exactly at the expiry never fires, so it is left out too.
Fixes#35394
With the "Update Picture" setting turned on, any failure to fetch the picture from the identity provider (an outage, a 404, a URL the server refuses to fetch or an image type it does not accept) replaced the user's current picture with the default icon, and it stayed that way on every login until the fetch worked again. A failed fetch now keeps the current picture. A provider that sends no picture at all still resets it to the default, and a new user whose picture cannot be fetched still gets the default icon.
Fixes#35360
Turning on Automations Sharing in the default user permissions did not stick. After saving, the switch was off again, and regular users still could not share their automations; only granting it through a group worked. The default permissions now keep this setting like every other sharing option.
Fixes#35396
When listing knowledge bases, searching their files or listing a knowledge base's files hit an error, the page just showed an empty list and the error was printed to stdout as a single bare line, outside the normal log format and without a traceback. These errors now go through the server log with the full traceback, like the other knowledge base errors already do. The page still shows an empty list in that case.
Fixes#35317
With native function calling, a saved chat with attachments put the list of attached files where features look for the user's message. The RAG template's {{QUERY}} slot, document search, memory search, the tool permission reviewer and the search queries for preloaded files got that list instead of what the user typed, and with an image attached the question was missing entirely. /skills:create was ignored whenever a file was attached. They now all use the user's own text, and the attachment list still reaches the model unchanged. With Preload files on, memory search and the reviewer still see the retrieved document text in front of the question, which is a separate problem.
Fixes#35163Fixes#35195
When the connection dropped again while the app was still checking the server version after a reconnect, the next reconnect started a second heartbeat and the old one could never be stopped. Each such drop left one more heartbeat running for the life of the tab, so the server got one extra heartbeat from that tab for each drop. A reconnect now replaces the running heartbeat, so each tab sends one.
Fixes#35191
Saving a tool server with the Name field left empty listed it in the chat's Tools menu with no text at all. An empty name now counts as no name, so an OpenAPI server shows the title from its spec and an MCP server shows "MCP Tool Server". A name you set still wins. Servers already saved without a name show correctly too, no need to save them again.
Fixes#33203
Workspace models now only grant access to an attached knowledge file when the model owner owns that file, and the chat tools and the model's list of attached knowledge follow the same rule. Saving, re-importing or restoring a model only re-checks newly added files, so editors can keep working on models that already hold files.
When an automation's code moved its next run, the run happened at the new time, but the automation page kept showing the regular scheduled time and the Calendar did not list the moved run. Both now show the next run as it will really happen, including for automations that only run manually, and the Calendar leaves out the scheduled times the moved run replaces. Once the moved run is done, both go back to the regular schedule.
Fixes#35377
In a channel's Webhooks dialog, editing a webhook's name and then deleting it made every following Save fail with a 404, and some edits to other webhooks were not saved until the dialog was reopened. Deleting a webhook now also drops its unsaved edits, so Save goes through for the remaining webhooks.
Fixes#35321
After upgrading to 0.13.5, some older chats fail on every new message with `'NoneType' object is not iterable` and the model is never asked. The upgrade keeps each earlier message exactly as it was stored, so a message saved with no value in its attachment field now hands that missing value back, and sending broke on it. A missing attachment value now counts as no attachments, so these chats work again without touching the database.
Fixes#35359
When a tool on a computer connected through Tether returned more than 16 MiB, for example a large image, the tool call spun in the chat forever and the model never got an answer. Open WebUI rejected the oversized response and then tried to read it a second time, waiting for data that would never come. The tool call now fails right away with the "Response too large to buffer" error, which the model gets as the tool result.
Fixes#35207
A tool or function written with plain def is switched off when it loads, for example after an upgrade, and opening its Valves only showed "Failed to load valves". The toast now shows the reason the server gives, such as "Methods must be defined with async def: inlet", so the admin knows what to change.
When the server rejected a channel rename or delete, for example because the channel was already deleted in another tab, an empty red toast appeared. The toast now shows the server's error message.
Fixes#35323
Everyday requests left internal debug lines in the server log at the default INFO level: one for every OpenAI and Ollama model list refresh, one per file upload and HTML file view, and the transcription debug lines of each speech-to-text request, one of them printed straight to stdout. They now log at DEBUG, so they only show up when LOG_LEVEL is set to DEBUG.
Fixes#35315
The Advanced toggle in the add connection, tool server, image connection, video connection and external knowledge dialogs only turned its arrow, so screen readers could not tell whether the section was open. It now reports open or closed, like the Advanced toggles in model, knowledge, machine and chat settings already do.
Fixes#35306
When the schedule was set to Custom and the rule left empty, Create and Save stored the automation with no schedule and without any error, so it never ran on its own. They now refuse it with "Invalid value: Custom schedule" and save nothing. The Create dialog also refuses a Once schedule set in the past again.
Fixes#35386
After an admin changed TTS settings that change how speech sounds, such as the OpenAI Additional Parameters (for example a different speed), an engine's API base URL or the Azure output format, Read Aloud on a message that had been read before still played the old saved audio. Changing those settings now produces fresh audio, while unchanged settings still reuse the saved file.
Fixes#35311
With Perplexity or Perplexity Search as the web search engine, a wrong API key or any other failed request ended in "No results found from web search", and the real reason only showed up in the server log. These failures now surface as a web search error with the HTTP status, the same way most other search engines report them.
Fixes#35313
After editing a message and sending it again, the old message, with its edit box still open, and the old MCP app never went away and stayed under the new reply. The cause was a bug in Svelte: when the old message and the old app were removed together, the app's short shutdown wait made Svelte remove neither. Svelte 5.59.2 fixes this, and with it the old branch disappears right after the app's brief shutdown, the same as when starting a new chat.
Fixes#35146
Starting a new chat in a folder cleared and focused a message box that was replaced a moment later, then did the same to the new, already empty one. On iPad each of these resets forces the whole page to lay out again, so the reporter saw the page freeze for 2.1 to 2.7 seconds, longer with more folder tabs open. The new chat now only fills its message box when there is text to put in it. With a nearly identical change on the same iPad, the freeze dropped to 0.8 to 1.2 seconds, stopped growing with open tabs, and the keyboard still came up.
Refs #35188
When a reverse proxy rejects an upload (for example nginx with its default 1 MB body limit, answering 413) or a gateway times out, the answer is an HTML page, and the upload error read "Unexpected token '<', "<html>..." is not valid JSON". Now it says "Unable to upload file (413)" with the real status code. Errors that Open WebUI itself returns show as before.
Fixes#35262
The file browser already remembers the list or grid view and whether hidden files show, but the sort order went back to Name every time it opened, in every place it is used. It now remembers the sort column and direction in this web browser the same way.
Fixes#35304
In a group channel's member list, an admin who is not the channel's creator saw Add Member but no way to remove anyone, even though the server allows admins to remove members. The remove button now shows for the same people who see Add Member.
Fixes#35319
For chats from before reasoning was stored separately, copying the whole chat and the plain-text downloads (.txt, and PDF when stylized PDF export is off) included the raw reasoning blocks, starting with <details type="reasoning" ...>, in the text. Copying a single reply already strips them. The whole-chat copy and these downloads now strip them the same way.
Fixes#35300
Each web search resolved the address of every result site before loading it, and those lookups blocked the whole server. With many results or a slow DNS server, other users' requests stalled until all of them finished. The lookups now run without holding up other users.
<table>
<tr><th></th><th>Before</th><th>After</th></tr>
<tr><td>Longest server stall, 20 results at 50 ms per lookup</td><td>1020 ms</td><td>11 ms</td></tr>
</table>
Relates to #35245
Uploading an image or video made the server check whether the file was really text first. With S3, GCS or Azure storage that check downloads the whole file, and the server stopped responding to everyone else until the download finished. The check now runs without holding up other users, so large media uploads no longer stall chats and page loads.
<table>
<tr><th></th><th>Before</th><th>After</th></tr>
<tr><td>Longest server stall with a 0.5 s storage download</td><td>511 ms</td><td>12 ms</td></tr>
</table>
Relates to #35245
Opening a file from the source list under an answer showed it with nothing highlighted, and a PDF opened at its first page instead of the cited one. This happened for any source with more than one paragraph. The source list now highlights the retrieved text and opens at the cited page again, as it did before paragraph citations. A plain citation chip in the answer still opens the whole source, as before.
Fixes#35165
Sending a message or asking for a new reply made a full copy of the chat history that nothing ever read, because a second copy replaces it a few lines later. Long chats paid for that copy every time a reply was requested. Nothing reads the chat between the two copies, so removing the first one changes nothing else.
<table>
<tr><th>Chat</th><th>History size</th><th>Time saved per send</th></tr>
<tr><td>50 turns, plain text</td><td>0.1 MB</td><td>0.1 ms</td></tr>
<tr><td>200 turns, plain text</td><td>0.6 MB</td><td>0.4 ms</td></tr>
<tr><td>100 turns, 10 knowledge chunks each</td><td>2.2 MB</td><td>0.6 ms</td></tr>
<tr><td>100 turns, 5 tool results of 20k characters each</td><td>9.9 MB</td><td>3.9 ms</td></tr>
</table>
The sidebar only started loading folders after the chat list had arrived, so on every app load and chat list refresh the folders showed up one network round trip later than needed. The two requests do not depend on each other and now run at the same time, so the folder tree also refreshes when a newer chat list refresh replaces the current one.
Every request on a connection using Microsoft Entra ID authentication fetched a fresh access token, and the server stalled for all users while it waited for Azure to answer. The token is now fetched without holding up other users' requests, and it is reused until it is close to expiring instead of being fetched again on every request.
<table>
<tr><th></th><th>Before</th><th>After</th></tr>
<tr><td>Longest server stall, two requests with a 300 ms token fetch</td><td>611 ms</td><td>11 ms</td></tr>
<tr><td>Token fetches for two requests</td><td>2</td><td>1</td></tr>
</table>
Relates to #35245
Searching in Admin Settings > Models only matched the display name, and Workspace > Models matched the name, the base model and the owner but not the model's own ID. A model that was renamed, or whose name differs from its ID, could not be found by typing the ID that the tooltip and the API show. Both searches now match the ID too, like the chat model selector, tools and functions searches already do.
Fixes#35296
Importing or previewing a large skill archive, or exporting skills as a zip, froze every other user's requests on the server while the archive was unpacked or compressed. Exporting a 47 MB skill stalled the server for about a second. Unpacking and compressing now run without holding up other users, and the imported skills and exported archives are unchanged.
<table>
<tr><th>Action (47 MB skill)</th><th>Longest server stall before</th><th>After</th></tr>
<tr><td>Import zip</td><td>361 ms</td><td>53 ms</td></tr>
<tr><td>Import folder</td><td>334 ms</td><td>111 ms</td></tr>
<tr><td>Export zip</td><td>1005 ms</td><td>17 ms</td></tr>
</table>
Relates to #35245
With Redis as the websocket manager, opening or leaving a chat or note, moving the cursor in a shared note, disconnecting, and access changes each read through the whole shared session list. While that ran the worker answered no one else, so on an instance with thousands of connected sessions everyone on that worker saw stalls on every one of those events. The session list is now read batch by batch without holding up other users, and presence and access results are unchanged. Setups without Redis keep reading the in-memory list directly.
<table>
<tr><th>Sessions</th><th>Redis round trip</th><th>Longest stall before</th><th>Longest stall after</th></tr>
<tr><td>5,000</td><td>local</td><td>8 to 10 ms</td><td>about 2 ms</td></tr>
<tr><td>5,000</td><td>1 ms</td><td>40 to 46 ms</td><td>about 2 ms</td></tr>
<tr><td>20,000</td><td>1 ms</td><td>150 to 169 ms</td><td>2 to 3 ms</td></tr>
</table>
Relates to #35245
When a photo is sent for an image edit, Open WebUI first rotates and re-encodes it so the provider sees it upright. That work stalled every other chat and request on the server for its full duration, about 130 ms per 12 MP photo and longer with each extra image in the request. It now runs without holding up other users, and the edited images are unchanged.
<table>
<tr><th>Request</th><th>Longest server stall before</th><th>After</th></tr>
<tr><td>1 photo (12 MP)</td><td>136 ms</td><td>23 ms</td></tr>
<tr><td>3 photos (12 MP)</td><td>377 ms</td><td>19 ms</td></tr>
</table>
Relates to #35245
Re-importing an export whose IDs already exist showed an "already registered" error for each item and then a green "imported successfully" toast. The success toast now only shows when at least one tool or function was actually imported. A partial import still shows it, next to the errors for the items that failed.
Fixes#35266
Settings > Data Controls > Import Chats did nothing at all for a file that is not valid JSON, and also when the server refused the import. A file that is not valid JSON now shows "Invalid file format.", the same message the sidebar import uses, and a failed import shows its error.
Fixes#35268
Attaching a folder to a message showed a "Document" tooltip on its icon. Attached folders, chats and notes also showed their type in English whatever the language, in the message input and on sent messages, and attached chats and folders did the same when editing a sent message. They now use the translated Folder, Chat and Note labels that already exist.
Fixes#35288
With the database unreachable, every /health/db check failed with an error nothing caught, so monitoring got a bare 500 and the log got a full traceback each time. It now answers 503 "Database not ready" with a one-line warning, the same way /ready handles a database that does not answer.
Fixes#35274