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.
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
A handful of messages skipped translation: the /model command toasts in chat, "No content" in the file preview, the valves load error, the knowledge file viewer's unsupported file type and empty workbook messages, the archived and deleted chats toasts in the sidebar selection bar, and the row errors in the user CSV import. They now go through translation, reusing existing strings where one already says the same thing.
Fixes#35327
Tools and functions written with plain def ran on the server's main loop, so a slow call inside one, such as an HTTP request, froze Open WebUI for every user on that server until it returned. Saving a tool or function in the editor now fails with an error that names every tool method or function hook (pipe, pipes, inlet, request, outlet, stream, action, event) still written with plain def. Tools and functions saved before this are switched off the next time they fail to load, the same way a function that fails to load is already switched off, and that also applies to any other load failure of a tool. Either can be switched back on once its code is updated. The starter code in both editors is async now.
Discussion: https://github.com/open-webui/open-webui/discussions/35238
When an upload to a knowledge base failed, the real error showed and then a second, generic "Failed to upload file." right after it. Now only the real error shows.
Fixes#35286
On page 4 of Admin > Users, Admin > Evaluations > Feedback, the workspace Models, Prompts and Skills lists or a channel's member list, clicking a column header showed page 4 of the new order, somewhere in the middle of the list. Changing the sort now goes back to page 1, like the group member list already does.
Fixes#35302
When typing Japanese, Chinese or Korean with an input method (IME), Enter, Space and the arrow keys pick conversion candidates and Escape drops them. Many inputs treated those keys as their own: Escape stopped a running response, threw away a message, cell, rename or comment draft, cleared a search or closed the dialog, drawer, menu or model selector, and Enter or Space saved, submitted, searched, picked a model or added the text while it was still half-typed. Inputs, dialogs and menus that act on these keys now leave keys that belong to the IME alone, the same way chat rename already does.
Fixes#35294
Exporting prompts from Workspace > Prompts and importing the same file created the prompts without any of their tags, even though the export file contains them. Import now keeps the tags. Access settings are still left out on purpose, because groups do not carry over between instances.
Fixes#35339
Picking a malformed .json file in Workspace > Prompts > Import silently did nothing, and picking the same file again after fixing it did nothing either. Now an "Invalid JSON file" error shows, the same as importing in Workspace > Models, and the file can be picked again right away.
Fixes#35341
After saving a model with a new image, or resetting it to the default logo, the model picker, the chat and the model lists kept showing the old image until the page was reloaded. The image address stayed the same, so the browser reused the copy it had already loaded. The address now carries the time the model was last saved, so the new image shows right away for workspace models and router models alike.
Fixes#34703
In the skill editor, files selected with a Shift or Ctrl/Cmd click stayed selected until each one was unchecked by hand, and while any file was selected a click on a file only added it to the selection. Escape and a click on the empty part of the file list now clear the selection, like the file browser in a chat's Files panel. An Escape that closes one of the editor's dialogs or menus, or cancels a rename, keeps the selection.
Fixes#34690
The model editor waited for the tools list, skills, functions, tag suggestions and the TTS voice list one after the other before showing the form. With a TTS provider that lists voices over the network or a few tool servers, that took seconds on every open. Only the model defaults set by the admin are needed to draw the form, so the editor now waits for those alone and the other lists fill in when they arrive. Saved selections show right away, and saving before a list has arrived keeps them.
<table>
<tr><td></td><td>before</td><td>after</td></tr>
<tr><td>Edit model, voice list taking 1.5 s, 3 tool servers</td><td>2344 ms</td><td>240 ms</td></tr>
<tr><td>New model, same setup</td><td>2305 ms</td><td>227 ms</td></tr>
<tr><td>Edit model, voices and tools answering at once</td><td>231 ms</td><td>233 ms</td></tr>
</table>
Fixes#34843
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
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
* fix: rename Capabilities to Features in the model editor
The model editor section called Capabilities mostly holds switches for which features users see on a model, such as image generation, web search and the code interpreter, so the name led admins to expect it to describe what the model itself can do. The section is now called Features, and its tooltip no longer says the connected model and provider must support every switch, since each switch's own description says what it needs.
* Leave the English value of the new tooltip empty like its neighbours
Since the workspace pages open as tabs, saving a changed model showed the success message and then the "Discard unsaved changes?" dialog, although the change was already saved, and the model editor stayed open until the dialog was confirmed. Saving now goes straight back to the model list again, as in v0.13.3.
Fixes#34087
Knowledge bases are called Collection or Collections in the chat knowledge picker, the model editor knowledge selector, the knowledge base chips and their detail view, and the search box inside a knowledge base, while the rest of the app says knowledge. Collection is also the vector database term, so the two get mixed up. Those places now say Knowledge, Knowledge Base or Search Files, reusing labels that are already translated, and the tooltip on a file inside a knowledge base now says File.
Relates to #34424
Since the workspace pages open as tabs inside Open WebUI, Save & Create on a new skill showed the success message and then the "Discard unsaved skill changes?" dialog, although the skill was already saved, and the create form stayed open until the dialog was confirmed. Save draft as copy, in the notice shown when someone else saved the skill first, did the same. Both now open the saved skill straight away, as in v0.13.3, while leaving a skill with real unsaved changes still asks.
Fixes#34209