Commit Graph
20535 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 560f2b4c62 chore: bump 2026-11-09 06:48:00 +09:00
Timothy Jaeryang Baek 9c6ebf75c3 refac 2026-11-09 06:44:51 +09:00
Timothy Jaeryang Baek a518ff1630 refac 2026-11-09 06:43:11 +09:00
Classic298 6c04b05c14 fix: the model loses the labels it wrote for its tool calls when Tool Call Labels is on (#33953)
With Tool Call Labels on, the model writes a short running and completed label for each tool call, and the chat shows them. Whenever the conversation was sent back to the model, both while it was still answering and on later messages, its earlier tool calls were missing those labels, so it saw itself leaving out its own labels and could learn to stop writing labels, which makes the chat fall back to plain tool names. The model now sees its earlier tool calls with the labels it wrote, and the chat shows them as before.

Fixes #33952
2026-11-09 06:41:24 +09:00
Classic298 842cd1fa95 fix: Ollama image ships without Ollama when its download fails during the build (#33944)
The amd64 :ollama images of Open WebUI 0.13.1 and 0.13.2 ship without the ollama command (the arm64 images are fine). During the 0.13.1 build, downloading the Ollama install script failed with a server error, but the build did not notice and kept going, and 0.13.2 then reused that broken result from the build cache. The build now stops when Ollama is not installed after the install script ran, so a failed download can no longer produce a broken image. With this change the next build also installs Ollama fresh instead of reusing the broken cached result.

Fixes #33942
2026-11-09 06:41:07 +09:00
Classic298 974367529c fix: DeepSeek thinking mode errors when a chat uses skills, knowledge or memories (#33950)
Starting with 0.13.1, DeepSeek in thinking mode returned the error "The `reasoning_content` in the thinking mode must be passed back to the API." for any chat that uses skills, attached knowledge or memories, even with the connection's Provider set to llama.cpp. Since that release these features reach the model through tool calls behind the scenes, and DeepSeek requires reasoning on every earlier tool call, which these tool calls never have. On connections with Provider set to llama.cpp, Open WebUI now fills in an empty reasoning for any earlier tool call that has none, which DeepSeek accepts, so these chats work again. Connections with Provider set to Default are unchanged: they send no reasoning back, so DeepSeek still needs the llama.cpp setting.

Fixes #33940
2026-11-09 06:40:57 +09:00
joaoback 6e337d93ec i18n: add pt-BR translations for newly added UI items and consistency pass (#33945)
New **pt-BR** translations for items introduced in the latest releases, plus a consistency/quality pass across existing strings (grammar, tone, capitalization, pluralization). Placeholders and hotkeys preserved. No logic changes.
2026-11-09 06:40:37 +09:00
Classic298 b13d02e092 fix: copy buttons, clipboard prompts and Auto-Copy Response break over plain HTTP on a LAN address (#33939)
Opened by an address such as http://192.168.1.20:8080 (no HTTPS, not localhost), the browser gives the page no direct clipboard access, and several things broke. Copy link on a comment and in search, Copy Share Link in Shared Chats, the webhook Copy URL, the Chat ID in the chat status bar, Copy branch name and Copy commit hash in the Git panel and the copy button of spreadsheet previews copied nothing, Copy Formatted Text pasted the ** and # symbols instead of the formatting, copied text lost its last line break, prompts using {{CLIPBOARD}} could not be inserted, and switching on Auto-Copy Response did nothing and was not saved. These copies now work on such addresses with the exact text and formatting, and {{CLIPBOARD}} prompts insert with the "Failed to read clipboard contents" message shown whenever the browser refuses clipboard access. Auto-Copy Response cannot work there, since the browser only lets a page copy right after a click, so the switch now stays off and shows its clipboard permission message.

Fixes #33927
Fixes #33934
Fixes #33935
Fixes #33937
Fixes #33938
2026-11-08 08:52:11 -05:00
Timothy Jaeryang Baek 241c8c0e47 refac 2026-11-08 22:07:47 +09:00
Timothy Jaeryang Baek d903b4ac03 refac 2026-11-08 22:03:30 +09:00
Timothy Jaeryang Baek 21fc016141 refac 2026-11-08 21:57:07 +09:00
Classic298 ad95407a1b fix: knowledge file search finds nothing for escaped punctuation like Art\. 40 (#33936)
When the model searched knowledge, chat or skill files with an escaped character such as Art\. 40, \(note\) or \$100, the search took the backslash literally and came back empty even though the text was there. A backslash in front of a regex special character now marks the pattern as a regex, so these searches find the text. Searches without a backslash, like C++, 1.5 or $100, still match exactly what was typed.

Fixes #33933
2026-11-08 21:38:44 +09:00
Classic298 dedf9e65cf fix: grouped tool calls lose all their labels when one call has no label (#33932)
With Tool Call Labels on, several tool calls in a row are shown as one collapsible group, and its header listed the calls' labels only when every call had one. If the model left out the label for even one call, the header dropped all of them and showed the generic "Explored" summary instead, both while the calls were running and after they finished. The header now shows the labels that exist and the tool name for a call without one, the same as each call already shows when the group is expanded.

Fixes #33925
2026-11-08 21:22:36 +09:00
Timothy Jaeryang Baek 6d3123b5b4 refac 2026-11-08 21:15:39 +09:00
Classic298 43c6da7c65 fix: side chat blocked when Enforce Temporary Chat is left on with Temporary Chat off (#33930)
When an admin switched Enforce Temporary Chat on and later switched Allow Temporary Chat off, Enforce stayed on but was no longer shown in the permission editor, and users with Allow Side Chat could no longer use side chats: a new side chat opened as a temporary chat and said they had no permission, and a saved chat dragged from the sidebar would not open in the side panel. Enforce Temporary Chat now only counts while Allow Temporary Chat is on, as the docs describe it, so these side chats open, send and are saved normally.

Fixes #33928
2026-11-08 21:14:57 +09:00
Classic298 494e2790af Merge pull request #33929 from Classic298/fix-chat-view-disconnect-log
fix: error traceback in the log when a chat's layout save is dropped
2026-11-08 21:14:48 +09:00
Timothy Jaeryang Baek b6534c58ff refac 2026-11-08 20:49:49 +09:00
Timothy Jaeryang Baek 3c400952cb refac 2026-11-08 20:46:20 +09:00
Classic298 e400872e87 Merge pull request #33920 from Classic298/fix-side-chat-permission-switch
fix: Allow Side Chat switch is hidden while Temporary Chat is off
2026-11-08 20:45:30 +09:00
Timothy Jaeryang Baek da841548da refac 2026-11-08 20:43:20 +09:00
Classic298 d67c707027 fix: Docker, frontend CI and pip builds fail when the ONNX runtime GPU download times out (#33917)
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.
2026-11-08 20:00:07 +09:00
Classic298 d62199572b fix: the turn that compacts the chat still sends the whole history (#33916)
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
2026-11-08 19:40:28 +09:00
Timothy Jaeryang Baek 97ca2144be refac 2026-11-08 19:07:11 +09:00
Timothy Jaeryang Baek 9b9bea514d refac 2026-11-08 19:06:43 +09:00
Timothy Jaeryang Baek d4e7005954 chore: format 2026-11-08 19:05:17 +09:00
Timothy Jaeryang Baek 8dff97ccb1 chore: i18n 2026-11-08 19:04:51 +09:00
Timothy Jaeryang BaekandClassic298 c1a9306397 refac
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
2026-11-08 19:00:46 +09:00
Timothy Jaeryang Baek 22c3caf975 refac 2026-11-08 18:46:00 +09:00
Classic298 43b8ad5256 perf: load the config and the session check at the same time on page load (#33914)
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 |
2026-11-08 18:41:44 +09:00
Classic298 87d148e9cb fix: /compact makes the next message larger after a long tool-calling reply (#33912)
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
2026-11-08 18:38:14 +09:00
Timothy Jaeryang Baek e8c0ad85e5 refac 2026-11-08 18:37:29 +09:00
Timothy Jaeryang Baek a072aaf310 refac 2026-11-08 16:00:53 +09:00
Timothy Jaeryang Baek bf9b1e7ec3 refac 2026-11-08 15:55:52 +09:00
Timothy Jaeryang Baek 3797ce419b refac 2026-11-08 15:52:44 +09:00
Timothy Jaeryang Baek a01dcbbe4c refac 2026-11-08 15:52:33 +09:00
Timothy Jaeryang Baek 7feebc8711 refac 2026-11-08 15:52:26 +09:00
Classic298 b55c0807f9 docs: start 0.13.1 changelog (#33664)
* 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
2026-11-08 15:48:37 +09:00
Timothy Jaeryang Baek 9126f2262c refac 2026-11-08 15:30:13 +09:00
Timothy Jaeryang Baek 2416b1fc0b refac 2026-11-08 15:27:19 +09:00
Timothy Jaeryang Baek 555125b369 refac 2026-11-08 14:58:56 +09:00
Timothy Jaeryang Baek 0b7e7b3f70 refac 2026-11-08 14:38:53 +09:00
Timothy Jaeryang Baek 10f1226f09 refac 2026-11-08 14:35:59 +09:00
Timothy Jaeryang Baek 08c109d20f refac 2026-11-08 13:36:39 +09:00
Timothy Jaeryang Baek a9478213a2 refac 2026-11-08 13:32:23 +09:00
Timothy Jaeryang Baek 2a0e0100bf refac 2026-11-08 12:56:55 +09:00
Timothy Jaeryang Baek ffa1fbc0b5 refac 2026-11-08 12:56:03 +09:00
Timothy Jaeryang Baek cbd53ddacf refac 2026-11-08 12:49:27 +09:00
Timothy Jaeryang Baek 21da7627b9 refac 2026-11-08 12:46:16 +09:00
Timothy Jaeryang Baek 3a4e4fdb45 refac 2026-11-08 12:24:29 +09:00
Classic298 749dc4dbae feat: optional size limit for chat history tool results (#33695)
* 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.
2026-11-08 12:10:18 +09:00