Installing the frontend dependencies makes the onnxruntime-node package download its GPU binaries from GitHub releases, and the whole install fails whenever that download times out. Neither the frontend build nor the Docker image uses those binaries (the image only ships the built frontend), so the Docker build, the frontend CI and building the Python package now skip that download with ONNXRUNTIME_NODE_INSTALL_CUDA=skip. The regular CPU binaries are part of the npm package and are not affected.
When a chat crossed the Context Compaction Threshold, the turn that made the summary still sent the model every earlier message with the summary on top, so that request was larger than without compaction and a chat already over the model's context window kept failing. Now that turn sends the summary and only the recent messages, as 0.13.0 did.
Fixes#33915
Every page load fetched the app config, then checked the login session, then fetched the config a second time to pick up the logged-in settings, three requests in a row before the sidebar and chat could start loading. Now the first config request sends the login token, so it already returns the logged-in settings and the second fetch is gone, and the session check runs alongside it. A deleted or deactivated user whose old login was still saved in the browser landed on the "backend not detected" error page on every reload; they now go to the sign-in page.
| Local run, 150 ms added to every request | dev branch | this change |
|---|---|---|
| Requests before the sidebar loads | 3 in a row | 2 in parallel |
| Sidebar requests start at | 1240 ms | 875 ms |
Context compaction can already run partway through a long reply that calls many tools. If /compact was used after such a reply, the next message sent the model every tool call and result from that reply again, so the request grew instead of shrinking and could go past the model's context limit. Now the model gets the same shortened history it got before /compact, plus the new summary. Nothing changes in the saved chat or in what the chat shows.
Fixes#33911
* docs: start 0.13.1 changelog
* docs: add accessibility entry to 0.13.1 changelog
* docs: add 0.13.1 entries up to 623257af7
* docs: add external knowledge base entry to 0.13.1 changelog
* docs: add MinerU 4.1 entry to 0.13.1 changelog
* docs: add MCP app and working folder fixes to 0.13.1 changelog
* docs: add paste typing, pagination focus and translations to 0.13.1 changelog
* docs: frame paste typing entry as a speedup in 0.13.1 changelog
* docs: add 0.13.1 entries up to 2e95de486 plus security notice
* docs: add native app sessions entry and migration warning to 0.13.1 changelog
* docs: link Tether follow-up commits in 0.13.1 changelog
* docs: link more native app and temporary chat commits in 0.13.1 changelog
* docs: link one more native app commit in 0.13.1 changelog
* docs: add notification click entry to 0.13.1 changelog
* docs: mention native app notifications in 0.13.1 changelog
* docs: fix punctuation in native app entry of 0.13.1 changelog
* docs: add saved side chats, drag to side panel and Milvus fix to 0.13.1 changelog
* docs: add split panes and default tools entries to 0.13.1 changelog
* docs: add terminal rendering entry to 0.13.1 changelog
* docs: add spreadsheet upload fix and list focus to 0.13.1 changelog
* docs: add reasoning stream, Ollama fix and read speedups to 0.13.1 changelog
* docs: extend accessibility entry in 0.13.1 changelog
* docs: add SSO, side chat tools, banners, top bar and feedback filter fixes to 0.13.1 changelog
* docs: add tool calling, terminal rename, webhooks and location entries to 0.13.1 changelog
* docs: add full text threshold and retrieval defaults to 0.13.1 changelog
* docs: add file context default change to 0.13.1 changelog
* docs: add tool search engines and prompt change to 0.13.1 changelog
* docs: add coding agent models and auto tool permissions to 0.13.1 changelog
* docs: add folder default terminal and agent options to 0.13.1 changelog
* docs: link follow-up commits for folder terminal, agents and native apps
* docs: correct where the full text threshold applies in 0.13.1 changelog
* docs: move coding agents and auto tool permissions to the top of Added in 0.13.1 changelog
* docs: rewrite the entries on file context, agents, auto permissions and tool search in 0.13.1 changelog
* docs: drop commit links from the 0.13.1 changelog
* docs: add Git discard entry to 0.13.1 changelog
* docs: add MCP OAuth fix and API file context to 0.13.1 changelog
* docs: add always full-width tabs and Git panel entries to 0.13.1 changelog
* docs: add iOS audio, preview, UI scale fixes and model picker descriptions to 0.13.1 changelog
* docs: shorten a label in the 0.13.1 changelog
* docs: add prompt caching and hidden tool result entries to 0.13.1 changelog
* docs: limit the hidden tool result note to pipes in 0.13.1 changelog
* docs: lead 0.13.1 Added with the cheaper tool chats entry
* docs: add the remaining visible changes from the dev audit to 0.13.1 changelog
* docs: correct the text size entry in 0.13.1 changelog
* docs: drop the text size entry from the 0.13.1 changelog
* docs: add client IP header placeholders and plain HTTP tab fix to 0.13.1 changelog
* docs: add tab keyboard shortcuts to 0.13.1 changelog
* docs: add quick open files to 0.13.1 changelog
* docs: add preview zoom fix and removed setting to 0.13.1 changelog
* docs: shorten a label in the 0.13.1 changelog
* docs: add voice notes and issue links to 0.13.1 changelog
* docs: add saved tab layouts, spreadsheet and Markdown editing, system info and notification sounds to 0.13.1 changelog
* docs: add Git status in the file browser, file drag to chat and editor Git markers to 0.13.1 changelog
* docs: shorten a label in the 0.13.1 changelog
* docs: add terminal disconnect and temporary chat terminal fixes to 0.13.1 changelog
* docs: add drag selection of files to 0.13.1 changelog
* docs: add Chrome first browser tab and devices section to 0.13.1 changelog
* docs: add working directory picker, batched tool search calls and integrations menu change to 0.13.1 changelog
* docs: mention the saved turns in the batched tool search entry of the 0.13.1 changelog
* docs: link issue 33868 on the forgiving tool calls entry of the 0.13.1 changelog
* docs: add MCP App messages, token count grouping and scanned PDF fix to 0.13.1 changelog
* docs: add chat read limit, reply finish time, channel search and hidden empty groups to 0.13.1 changelog
* docs: add terminal image editing and model availability events to 0.13.1 changelog
* docs: add Git clone entry to 0.13.1 changelog
* docs: add spring-loaded Files tabs to 0.13.1 changelog
* feat: optional size limit for chat history tool results
Reading a long earlier chat through the Chat History tools could return far more text than a model's context window holds, so the next request failed. Admins can now set VIEW_CHAT_MAX_CHARS to cap what is returned. The newest messages are kept, older ones are dropped, and the result says it was cut and how many messages came back. Unset keeps the full chat as before.
Fixes#33608
* feat: set the chat read limit from the admin settings
The limit on how much of an earlier chat a model can read could only be set with an environment variable. It is now a Chat Read Limit field in Admin Settings under General, next to the skill limits. The environment variable still works as the starting value, and the setting saved in the panel takes precedence.
* fix: chat read limit failing on chats with empty or non-text messages
With a chat read limit set, reading an imported chat that held empty or non-text message content ended in an error instead of the chat. Such content is now counted and cut as plain text.
Assistant replies showed the time the prompt was sent, so a reply carried the same time as the message above it, even when it took minutes to finish. Replies now show the time they finished. Open WebUI already records that time for every reply, and replies created before v0.12.5, which did not record it yet, keep showing the send time. A reply that is stopped or fails shows its finish time after a reload.
The Visible controls setting in Admin Interface can hide single options from users, but hiding every option in a group left the group itself behind. Users then saw an empty Capabilities or Builtin Tools section in the model editor, a bare Artifacts heading in Interface settings, and an Add Context entry in the chat input menu that opened an empty list. These now disappear once nothing inside them is visible, like the Default Features section already does.
With Tool Search on, when the model sent a broken call for a tool Tool Search had not loaded yet (arguments that were not a JSON object, or a list of tool calls that was empty or in the wrong format), Open WebUI handled it like an unfinished model response and the rest of the reply ran without any tools. Now the model gets a tool error back, like it does for an unknown tool name, and can retry with its tools. Only a model response that really was cut off still ends tool use.
Fixes#33871
After chatting with a coding agent through an Open Terminal connection, reopening the chat once that terminal was removed, switched off or no longer available to the user showed a long internal id such as agent:<terminal>:opencode:<model> at the top of the reply instead of the agent's name, both on the reply and in the chat overview. The name was only remembered while the chat stayed open, so every reload lost it. The name is now saved with the reply.
Fixes#33879
Saving a chat's view (the per-chat display state the app stores) looked at the request before it checked who was sending it. A signed-out client or a pending account sending broken data got "Invalid chat view" instead of being refused, unlike everywhere else that needs a signed-in user, and the server read up to 1 MB of data for callers it would turn away anyway. The caller is now checked first, so they get the usual 401 Unauthorized. Signed-in users see no change.
Fixes#33883
When a connection's custom headers use {{USER_IP}} or {{X_FORWARDED_FOR}}, automation runs, timers, sub-agent runs and the model list fetch at startup filled them with 127.0.0.1. A provider that logs or rate-limits per client address then saw these requests as coming from the Open WebUI host. No client sends these requests, so the header is now sent with an empty value for them. Normal chats still send the real client address.
Fixes#33882
Saving a voice note wrote the recording and the Markdown note to the Open Terminal, but the note never opened, so people had to find it in the file browser by hand. The saved note now opens in its own tab right after Save.
Fixes#33886
With the OpenAI image engine and the Model field left empty, requests go out for gpt-image-2 but still ask for base64 output, a parameter OpenAI does not support for GPT image models. Typing gpt-image-2 into the Model field already left it out. Whether that parameter is sent now depends on the model the request actually uses, so the empty default and the named model send the same request, and an image edit request that names its own model is handled the same way.
Fixes#33874