Commit Graph
20257 Commits
Author SHA1 Message Date
Classic298 2e95de4867 perf: typing in the chat input no longer freezes after pasting large text (#33729)
Converting 16,000 pasted lines to Markdown now takes 74 ms instead of 8.6 seconds, with byte-identical output. The converter got about 4x slower each time the text doubled, so every keystroke in the chat input after a large paste took seconds; its latest release fixes that and this is a plain version bump.

| Pasted lines | Before | After |
|---|---|---|
| 16,000 | 8,634 ms | 74 ms |
| 8,000 | 2,232 ms | 39 ms |
| 4,000 | 575 ms | 17 ms |
| 1,000 | 31 ms | 16 ms |

Related to #12087.
2026-11-05 06:38:33 +09:00
G30 5687972803 i18n: fill missing translations in 47 languages (#33740) 2026-11-05 06:38:15 +09:00
G30 a530893659 fix(a11y): reaching the first or last page keeps keyboard focus in the page buttons (#33748) 2026-11-05 06:38:05 +09:00
Timothy Jaeryang Baek f7b3029a69 refac 2026-11-05 05:39:09 +09:00
Timothy Jaeryang Baek aac0e97627 refac 2026-11-04 19:10:49 +09:00
Timothy Jaeryang Baek b79a778c03 refac 2026-11-04 15:37:35 +09:00
Timothy Jaeryang Baek 500ff30bb7 refac 2026-11-04 15:13:35 +09:00
Classic298 7cd0f14110 feat: support MinerU 4.1 servers (#33719)
MinerU 4.1 replaced the upload and parse job routes of 4.0 with a new Tasks API, so every document sent to a 4.1 server failed with a 404. The MinerU engine in local mode now detects a 4.1 server and uses the new API, sending the API key only to the MinerU server itself. MinerU 4.0 and 3.x servers keep working as before. Tested against real MinerU 4.1.6 and 4.0.12 servers with an API key set.

Fixes #33718
2026-11-04 08:50:28 +09:00
Classic298 fae12c8a98 fix: thumbs-down reason and comment are lost when saved before tags are generated (#33716)
After a thumbs down, pressing Save in the rating form while the rating's tags were still being generated did nothing: the form showed its thank-you message, but the score, reason and comment were never stored. Save now stores them right away, and clicking a thumb again while a rating is saving is ignored as before.

Fixes #33715
2026-11-04 07:06:31 +09:00
Classic298 680202aa88 fix: holding Shift shows the Delete buttons again after a mouse click (#33717)
On the Notes, Models, Prompts, Skills, Tools and Automations pages, holding Shift is the quick-delete shortcut that turns each item's menu button into a Delete button. It stopped working once any button on the page had been clicked, for example after switching Notes to Grid view, and now works again. A menu button reached with the Tab key still stays a menu button while Shift is held, so keyboard users do not delete by accident.

Fixes #33714
2026-11-04 07:05:59 +09:00
Classic298 35d946f276 fix: external knowledge bases only use the first generated search query (#33704)
With Retrieval Query Generation on, an external knowledge base (Qdrant, Milvus or pgvector) ran one search per generated query, one after another, and then kept only the results of the first query. The other searches cost time and added nothing to the answer. The searches now run at the same time and their results are merged by position (the top result of each query, then the second of each, and so on) with duplicates dropped, so every generated query contributes. Results are merged by position because scores cannot be compared the same way across vector databases: for some a higher score is better, for others a lower one.

| 3 queries, simulated search taking 0.3 s | before | after |
| --- | --- | --- |
| time | 0.9 s | 0.3 s |
| results used | first query only | all three queries |

Fixes #33184
2026-11-04 06:50:47 +09:00
Classic298 623257af76 fix: deprecation warnings when refreshing OAuth tokens with a client secret (#33700)
Refreshing an OAuth token, or checking a token's client during token exchange, with the client secret sent over HTTP Basic logged aiohttp deprecation warnings on every call. aiohttp removes the deprecated helper in 4.0, after which these requests would fail. The Authorization header is now built with aiohttp's recommended replacement, and what the provider receives is unchanged. Fixes #33297
2026-11-04 06:00:36 +09:00
Classic298andmanooll 8d7b71f6cc fix: search queries no longer show up in the default server log (#33701)
The external reranker, Exa and Ollama web search wrote the full user query to the server log at info level, and reusing generated search queries logged them as well. Those lines no longer include the query. A failing external reranker also logged the provider URL in its error message along with a stack trace; it now logs only the error type.

Co-authored-by: manooll <16244686+manooll@users.noreply.github.com>
2026-11-04 06:00:28 +09:00
Classic298 ad66f2c41a fix: reading a file by line range ignores the read size limit (#33696)
Asking for a line range (for example the whole file by its last line number) returned every requested line, however large, so one tool call could exceed the model's context window and fail the chat. Line ranges now stop at the last whole line that fits the same limit as character reads, and report where to continue from.

Fixes #33607
2026-11-04 05:46:38 +09:00
Classic298 05c71e4060 perf: sidebar chat list no longer waits for the channel list on app open (#33686)
The sidebar loaded channels first and only then started loading chats, so a slow channel request delayed the chat list on every app open. Both requests are independent and now run at the same time. The chat list shows up as soon as its own data is ready.
2026-11-04 05:38:23 +09:00
Classic298 f30667a06f perf: sending a message in an existing chat loads the chat once instead of twice (#33669)
When a message is sent in an existing chat, the server loaded the full chat, then loaded it again right after to check that the user has write access. The check now reuses the chat it already loaded. Who can write to a chat does not change. The saving grows with chat size and is small for ordinary chats.

Time saved per message, measured on SQLite, best of 3 runs, sizes are the chat as stored in the database, images embedded:

| Chat | Time saved |
| --- | --- |
| 7 MB, text only | 34 ms |
| 49 MB, with images | 204 ms |
2026-11-04 05:38:14 +09:00
Classic298 3bc0ca1cb5 feat: allow non-ASCII characters in email addresses (#33693)
Email addresses with non-ASCII characters before the @ (internationalized addresses per RFC 6531) were blocked by the browser's own email field check, so the admin account and new users could not be created with them. The email fields on the sign-up page and in the add and edit user dialogs now accept them and still show the email keyboard on mobile. The server already accepted these addresses, so no backend change is needed.

Fixes #33681
2026-11-04 05:35:24 +09:00
Classic298 5232f9bb24 fix: terminal connections using Session auth fail Verify Connection and never load the terminal tools (#33699)
A terminal connection with Auth set to Session had no API key field, so Verify Connection, the policy settings and the tool list request all went out without the orchestrator's key and were rejected as unauthorized. That left the policy dropdown empty and chats failing with "Terminal server is unavailable". Session connections now have the API key field, and the key is sent for those admin and discovery calls the same way Bearer connections already do. Terminals that users open still sign in with the user's own session.

Fixes #30001
Fixes #33579
2026-11-04 05:34:32 +09:00
Classic298 323f7353bf perf: chat access checks no longer load the whole conversation (#33667)
Typing indicators, sending a message, shared links, comments and file access all check whether the user may access the chat, and each check loaded the full chat, images included, only to look at who owns it and which folder it is in. On large chats that delayed every other request on the same server process by up to a few hundred milliseconds per check. The check now reads just those few fields, and who gets access is unchanged.

Measured on SQLite, best of 5 runs, sizes are the chat as stored in the database:

| Chat | Checked for | Before | After |
| --- | --- | --- | --- |
| 7 MB, text only | the chat owner | 34.6 ms | 0.36 ms |
| 7 MB, text only | a user with access through a shared folder | 35.1 ms | 2.58 ms |
| 57 MB, with images | the chat owner | 249.8 ms | 0.72 ms |
| 57 MB, with images | a user with access through a shared folder | 249.0 ms | 2.80 ms |
2026-11-04 05:33:17 +09:00
Classic298 40b7b5201b fix: temporary chat button missing on new chats when tabs are enabled (#33680)
With the tabbed layout on, the Temporary Chat button disappeared from a new chat, so a temporary chat could not be started from there. The button now shows in the new chat's tab like it did in the classic navbar.
2026-11-04 05:19:21 +09:00
Classic298 40b1c561a5 ci: lock the exact versions of the GitHub Actions our workflows use (#33679)
Our workflows refer to actions by tag, and a tag can be moved to different code after we reviewed it. This adds GitHub's workflow lockfile, which records the exact commit behind each action version, and the workflows now name exact releases (v5.1.0 instead of v5, for example) as the lockfile tool requires. Dependabot already tracks these actions. The regression workflow that follows the tests repo's main branch is not covered.
2026-11-04 05:06:30 +09:00
Classic298 d00a02ff23 perf: faster filter lookups on chat requests when Redis is enabled (#33668)
With Redis enabled, each chat request and each title or tag generation looks up which pipeline filters apply, and every lookup parsed the full model list stored in Redis from scratch. Each worker now keeps the parsed list and parses it again only when the model list changes. The lookup returns the same filters as before, at the cost of about 3 MB of memory per worker for 1000 models.

Measured per lookup against a local Redis; the larger list size in each pair comes from models with profile images:

| Models | Model list size | Before | After |
| --- | --- | --- | --- |
| 200 | 0.17 MB | 0.42 ms | 0.05 ms |
| 200 | 2.2 MB | 1.16 ms | 0.05 ms |
| 1000 | 0.83 MB | 2.43 ms | 0.06 ms |
| 1000 | 11 MB | 6.21 ms | 0.10 ms |
2026-11-04 05:06:15 +09:00
G30 f36807a55f fix(a11y): buttons keep keyboard focus while they save (#33673) 2026-11-04 05:04:47 +09:00
G30 ba9274530b fix(a11y): cancelling a message edit or switching message versions keeps keyboard focus (#33678) 2026-11-04 05:04:31 +09:00
G30 0fd01ff242 fix(a11y): the show password button is at least 24 pixels wide (#33685) 2026-11-04 05:04:14 +09:00
G30 421b6947be fix(a11y): the skip link on the sign-in page moves focus to the sign-in form (#33684) 2026-11-04 05:03:53 +09:00
G30 168370f292 fix(a11y): holding Shift no longer swaps row buttons for Delete while a keyboard user has focus (#33676) 2026-11-04 05:03:16 +09:00
Classic298 8957ac1397 fix: repeated warnings in the logs for MCP servers a user has not connected (#33663)
Every time a user loaded Open WebUI, each OAuth MCP server they had not connected yet wrote a warning to the logs ("No OAuth session found for user ..., client_id mcp:<server id>"), so instances with a few such servers filled their logs with it. Not having connected a server yet is a normal state, so the message now logs at debug level and only shows up when debug logging is on. Using an MCP server without connecting it still fails with "Auth required" as before.
2026-11-03 08:58:47 -05:00
joaoback 057c5db040 Merge pull request #33661 from joaoback/patch-61
i18n: add pt-BR translations for newly added UI items and consistency…
2026-11-03 08:58:29 -05:00
Timothy Jaeryang Baek 5f1c6384ea refac 2026-11-03 22:28:41 +09:00
Timothy Jaeryang Baek a01b2ed55b refac 2026-11-03 21:43:09 +09:00
Timothy Jaeryang Baek b433aab65c refac 2026-11-03 21:34:16 +09:00
Classic298 aa1326eaea fix: replies cut off at the token limit on a Responses API connection lose their token usage (#33619)
When a streamed reply from a Responses API connection stopped early, for example at the token limit or through a content filter, its token counts were lost. The chat showed no usage for that reply and the admin analytics recorded zero tokens for it. Such replies now keep the usage the provider reported, the same as replies that finished normally.

Fixes #33615
2026-11-03 21:04:51 +09:00
Classic298 fa09d74644 fix: notes over 2 MB open empty and cannot be edited (#33618)
A note over 2 MB, which one pasted screenshot can reach because images are embedded in the note, opened as an empty page and discarded what you typed. Live editing of notes had its own 2 MB limit, smaller than what the server accepts in one transfer, so it refused to load such notes. That limit now matches the server's 16 MB transfer limit, so any note the server can receive opens and saves again.

Fixes #33606
2026-11-03 20:59:19 +09:00
Timothy Jaeryang Baek fe2219d6f9 refac 2026-11-03 20:55:06 +09:00
Classic298 47934d1cc2 fix: saving an orchestrator terminal connection wipes policy settings made in Terminals (#33617)
Opening an orchestrator terminal connection in Admin Settings > Integrations and clicking Save overwrote its policy in Terminals with only the fields the dialog shows (image, CPU, memory, storage, idle timeout and environment variables). Everything else set in Terminals, like restricted mode or the pod and container security settings, was lost, so new terminals started without it. Saving now keeps the policy settings the dialog does not show and only updates the ones it shows.

Fixes #33580
2026-11-03 20:45:16 +09:00
Classic298 dd6720c528 fix: non-ASCII stop sequences on a model reach the provider corrupted (#33614)
A Stop Sequence saved on a workspace model reached the provider corrupted when it had non-ASCII text in it (終 went out as çµ\x82, café as café), so the model never stopped on it. This happened when an API client used the model through /openai/chat/completions or /ollama/api/chat. Those stops now arrive unchanged, and typing \n in the field still sends a newline.

Fixes #33610
2026-11-03 20:44:05 +09:00
Classic298 1d5373066d fix: OpenTelemetry request metrics create a new series for each distinct URL (#33613)
With OpenTelemetry metrics on, a request for a URL the server has no API endpoint for was counted under its full address, so every distinct URL became a metric series of its own and the series count kept growing. When the web interface is not served (API-only setups) this happens for any unknown URL, such as bots probing for missing paths. With Starlette 1.3.1, the version pinned for source installs, it also happens for every page load, static file and websocket request, because that version tells the server nothing about which part of the app answered them. These requests are now counted without a URL label, while API requests keep theirs. Admins need to do nothing, as the old series stop growing and age out.

Fixes #33576
2026-11-03 20:43:51 +09:00
Classic298 f3ef8b9491 fix: Sub-agents settings show blank and switched off when a limit is 0 (#33612)
Saving the Sub-agents admin tab could turn sub-agents off and clear their system prompt when one of the limits was still 0. Older releases accepted 0 there, also from the SUBAGENTS_MAX_* environment variables, but the tab now fails to load such a value and shows everything blank and switched off, so saving writes that blank state back. A limit of 0 now shows as empty, meaning no limit, which matches what sub-agents already do with a 0 while they run.

Fixes #33609
2026-11-03 20:28:38 +09:00
Timothy Jaeryang Baek d22c4449ca refac 2026-11-03 18:59:59 +09:00
Timothy Jaeryang Baek 0c64e5d596 chore: format 2026-11-03 17:36:03 +09:00
Timothy Jaeryang Baek d14e5c154f doc: changelog 2026-11-03 17:35:16 +09:00
Classic298 0a6f0bd620 docs: start 0.13.0 changelog (#33386)
* docs: start 0.12.6 changelog

* docs: add knowledge base file limits to 0.12.6 changelog

* docs: add MCP Apps and PowerPoint charts to 0.12.6 changelog

* docs: update 0.12.6 changelog date

* docs: add comments and tool switches to 0.12.6 changelog

* docs: add comment highlights to 0.12.6 changelog

* docs: add accessibility improvements to 0.12.6 changelog

* docs: add date added sorting to 0.12.6 changelog

* docs: add role prompt variable to 0.12.6 changelog

* docs: extend accessibility entry in 0.12.6 changelog

* docs: add 3D previews and Overview move to 0.12.6 changelog

* docs: extend accessibility entry in 0.12.6 changelog

* docs: add notification inbox to 0.12.6 changelog

* docs: link inbox request in 0.12.6 changelog

* docs: add note block handles to 0.12.6 changelog

* docs: add tool creation, folder and thread fixes to 0.12.6 changelog

* docs: add thread toolbar fix to 0.12.6 changelog

* docs: extend accessibility entry in 0.12.6 changelog

* docs: add tabbed side panel and moved controls to 0.12.6 changelog

* docs: link note copy button request in 0.12.6 changelog

* docs: add Git panel to 0.12.6 changelog

* docs: add live terminal updates to 0.12.6 changelog

* docs: add terminal browser sessions to 0.12.6 changelog

* docs: add terminal desktop tab to 0.12.6 changelog

* docs: update 0.12.6 changelog date

* docs: add comments slash command to 0.12.6 changelog

* docs: add side chats to 0.12.6 changelog

* docs: rename the changelog section to 0.13.0

* docs: add sub-agent models to 0.13.0 changelog

* docs: add sidebar approval marker to 0.13.0 changelog

* docs: add sub-agent limit defaults to 0.13.0 changelog
2026-11-03 17:30:31 +09:00
Timothy Jaeryang Baek e9faf7509c chore: i18n 2026-11-03 17:28:00 +09:00
Timothy Jaeryang Baek a8b478ed7b refac 2026-11-03 17:17:59 +09:00
Timothy Jaeryang Baek 8e61cc0210 refac 2026-11-03 17:04:42 +09:00
Timothy Jaeryang Baek 1ce8616ab9 refac 2026-11-03 16:48:05 +09:00
Timothy Jaeryang Baek 09030d5dd2 refac 2026-11-03 16:47:22 +09:00
Timothy Jaeryang Baek 563d621854 refac 2026-11-03 16:36:49 +09:00
Timothy Jaeryang Baek bab66b2c2f refac 2026-11-03 16:31:24 +09:00