Commit Graph
21042 Commits
Author SHA1 Message Date
Classic298 e861fde7cd fix: Enter does nothing in the chat input after selecting all text (#34760)
After selecting everything in the chat input with Ctrl+A or Cmd+A, pressing Enter did nothing. The message was not sent, and the browser console showed a RangeError. Enter now sends the message as usual, and Shift+Enter no longer logs that error.

Fixes #34758
2026-11-23 18:37:17 +04:00
Timothy Jaeryang Baek b7ce1bd194 refac 2026-11-23 18:35:34 +04:00
Classic298 e1e61c48a8 fix: admins get "Model not found" from router models without access settings when the admin bypass is off (#34791)
With BYPASS_ADMIN_ACCESS_CONTROL=false, router models that never got access settings showed up in the admin's model selector, but every chat with them failed with "Model not found". This hit router models set through the ROUTER_MODELS env var or saved through the router models API without access settings, and arena models set through EVALUATION_ARENA_MODELS once the upgrade turns them into router models. Admins can now chat with them, the same way env-set arena models worked before. Regular users still cannot see or use them.

Fixes #34786
2026-11-23 18:34:38 +04:00
Classic298 bdebc44c6e fix: knowledge base loses PDF pages when files are added in a batch (#34886)
Adding already processed files to a knowledge base through the batch add API gave the knowledge base a fresh split of each file's plain text. The chunks lost the page they came from and could run across pages, so citations showed no page and RAG_SOURCE_METADATA_KEYS had nothing to pass to the model. The batch add now copies each file's existing chunks and falls back to the file's text when those chunks are missing. The duplicate content check is unchanged.

Fixes #34876
2026-11-23 18:33:12 +04:00
Classic298 ed1c7e45d8 perf: show the Admin Settings > Interface tab sooner (#34891)
The Interface tab in Admin Settings loaded its settings first, then the saved model settings, then the model list, waiting for each before starting the next. On a remote instance every one of those waits is a full network round trip before the task model selectors show up. All of them now load together.

<table>
<tr><th>Time until the task model selectors show, provider answering in 500 ms, median of 7</th><th>Before</th><th>After</th></tr>
<tr><td>no added latency (localhost)</td><td>635 ms</td><td>621 ms</td></tr>
<tr><td>40 ms latency</td><td>711 ms</td><td>625 ms</td></tr>
<tr><td>100 ms latency</td><td>787 ms</td><td>625 ms</td></tr>
</table>

Fixes #34889
2026-11-23 18:32:55 +04:00
Classic298 e70428af2d fix: expanding or collapsing a note's chat drops keyboard focus (#34799)
Pressing Expand above a note's chat, or Collapse in its header, removed the button that had focus, so keyboard focus fell back to the page and the next Tab started again from the top. Expanding now puts the focus in the chat's message box and collapsing gives it back to the Expand button.

Fixes #34798
2026-11-23 18:32:38 +04:00
Classic298 c3fcd04e9b fix: browser console shows a channels error on every page load when Channels is off (#34821)
With Channels turned off, or for a user without the Channels permission, every page load asked the server for the channel list right after connecting to it. The server refused, so the browser console logged a 403 (or 401) error each time. The channel list is now only requested when Channels is on and the user may use it, and it still refreshes after a reconnect when it is.

Fixes #34820
2026-11-23 18:30:16 +04:00
Timothy Jaeryang Baek 74fad78f1c refac 2026-11-23 18:23:07 +04:00
Classic298 7ea337921f fix: router model chats get titles, tags and follow-ups from a model the router did not pick (#34895)
With no task model set, the title, tags and follow-ups of a router model chat went through the router again, which matched its rules against the built-in task instructions instead of the conversation. They could come from a model unrelated to the chat, and each one could cost another Decisions API call. They now run on the model the router picked for the reply, as in a direct chat with that model, make no routing call of their own and use the Local or External Task Model by that model's connection. A new router chat is titled once its message is prepared, so a stop or failure before the reply starts can leave it untitled. This covers the automatic tasks after a chat message, and voice chat and manual title generation follow separately.

Fixes #34887
2026-11-23 18:10:11 +04:00
Classic298 347aceaf50 fix: generated titles of router model chats come from a model the router did not pick (#34900)
Generate in a router model chat's title editor or in its sidebar rename asked the router again, which matched its rules against the built-in title instructions instead of the conversation, so the title could come from a model unrelated to the chat and each click could cost a Decisions API call. It now comes from the model the router picked for the latest reply, as in a direct chat with that model. The automatic title, tags and follow-ups after a reply are fixed in #34895.

Refs #34887
2026-11-23 18:09:54 +04:00
Classic298 bd150cdf66 fix: machine skills show an internal name instead of Machine in the $ and / skill lists (#34810)
Since terminals were renamed to machines, skills that come from a machine showed an internal name such as terminal:my-skill next to them in the $ and / lists, while the Skills menu labels them Machine. Both lists now show the Machine label for them, matching the Skills menu.

Fixes #34809
2026-11-23 16:45:49 +04:00
Classic298 0b64d0c047 fix: a pinned model's new chat tab shows none of the model's prompt suggestions (#34845)
Since pinned models open their new chat in a tab, that tab only showed a plain New Chat heading, so the prompt suggestions set up for the model in Workspace > Models never appeared. Picking the same model in the model selector of a new chat still showed them. A new chat tab now lists the selected model's own prompt suggestions above the message input, and they filter as you type and send exactly as on the new chat screen.

Fixes #34830
2026-11-23 16:45:18 +04:00
Classic298 83e1d38d88 fix: clicking a PDF citation again does not go back to the cited page (#34836)
Once a cited PDF was open beside the chat, scrolling it or picking another page in the page strip broke the citation: clicking it again left the PDF where it was, and only closing the tab brought the cited page back. Every click on a citation now opens the PDF at its cited page again, wherever the reader went since.

Fixes #34834
2026-11-23 16:45:00 +04:00
Timothy Jaeryang Baek 411d030679 refac 2026-11-23 16:43:25 +04:00
Timothy Jaeryang Baek d599f7a08e refac 2026-11-23 16:23:46 +04:00
Timothy Jaeryang Baek 061aeae187 refac 2026-11-23 16:21:24 +04:00
Timothy Jaeryang Baek 464e83e414 refac 2026-11-23 16:21:00 +04:00
Classic298 6b1d890ffd chore: bump redis to 8.2.0 (#34835)
Moves the Redis client library from 8.0.1 to 8.2.0. When a Redis server or proxy rejects the newer handshake, connecting now falls back to the older protocol by default instead of failing. On Sentinel setups, the connections behind the socket locks and shared socket state are no longer reused after an interrupted read, and Sentinel lookups no longer retry the same Sentinel. No other package changes version.
2026-11-23 16:16:46 +04:00
Classic298 d59de004bb perf: show the Admin Settings > Models list sooner (#34873)
The Models tab in Admin Settings loaded the models config, the workspace models and the model list one after another, then loaded the provider model list, and after showing the list loaded the model list again. Every one of those waits costs a network round trip, so admins on a remote instance waited noticeably longer than needed. The first three now load together and the model list is only loaded once. The provider model list still loads after the model list, so the provider is still asked only once per visit.

<table>
<tr><th>Time until the list shows, provider answering in 500 ms, median of 7</th><th>Before</th><th>After</th></tr>
<tr><td>no added latency (localhost)</td><td>619 ms</td><td>620 ms</td></tr>
<tr><td>40 ms latency</td><td>730 ms</td><td>654 ms</td></tr>
<tr><td>100 ms latency</td><td>911 ms</td><td>710 ms</td></tr>
</table>

Fixes #34872
2026-11-23 16:16:26 +04:00
Classic298 2065ec9a80 perf: chats opened by link or reload start loading before the model list is in (#34869)
Opening a chat directly waited for the model list before it even asked for the chat, so a long chat on a slow connection added its whole download on top of the model list wait. The chat is now requested right away and the model choice, defaults and input still wait for the model list as before. The time saved is the chat download itself, so it grows with longer chats and slower links. Measured on a 500-message chat with a model list that takes 1 s, median ms until messages show and until the input is usable.

<table>
<tr><th></th><th>before</th><th>after</th></tr>
<tr><td>20 Mbit/s, messages shown</td><td>3568</td><td>3401</td></tr>
<tr><td>20 Mbit/s, input usable</td><td>3674</td><td>3485</td></tr>
<tr><td>5 Mbit/s, messages shown</td><td>7447</td><td>6442</td></tr>
<tr><td>5 Mbit/s, input usable</td><td>7519</td><td>6523</td></tr>
</table>

Fixes #34868
2026-11-23 16:14:51 +04:00
Classic298 41652d4a0a perf: Workspace Models list waits on an unused request before loading (#34871)
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
2026-11-23 16:14:25 +04:00
Timothy Jaeryang Baek 5697a0939a refac 2026-11-23 16:10:09 +04:00
Timothy Jaeryang Baek 99784757b5 refac 2026-11-23 15:13:45 +04:00
Timothy Jaeryang Baek c3747e8449 refac 2026-11-23 15:06:29 +04:00
G30 8f6f1d022c chore: the Calendar grid shows a page background image (#34813) 2026-11-23 14:38:39 +04:00
Timothy Jaeryang Baek 8e548c0f77 refac 2026-11-23 14:20:59 +04:00
Timothy Jaeryang Baek c1f3b6fd1e refac 2026-11-23 03:29:58 +04:00
Timothy Jaeryang Baek 1810b2547e refac 2026-11-23 03:04:23 +04:00
Timothy Jaeryang Baek cc2e033b04 refac 2026-11-23 02:26:51 +04:00
Timothy Jaeryang Baek 9b6241e541 refac 2026-11-23 02:05:05 +04:00
Classic298 b393504d9c fix: screen readers do not say which connection an on/off switch belongs to (#34795)
In the connection lists under Admin Settings > Images & Videos and Admin Settings > Integrations (tool servers, machines and external knowledge), a screen reader announced each connection's on/off switch without saying which connection it belongs to. This came with a recent change, not yet released, that turned the connection names into buttons. Each switch is now announced as Enabled followed by its connection's name, the same way the model and tool switches in the workspace are.

Fixes #34788
2026-11-23 00:34:21 +04:00
Classic298 ad8601004c fix: empty Notes page points to a Create menu that no longer exists (#34792)
With no notes yet, the Notes page told people to create their first note from the Create menu, which the notes header no longer has. The hint now points to the + menu at the top right of the page, where New Note is.

Fixes #34787
2026-11-23 00:34:03 +04:00
G30 942fe77524 i18n: fill missing translations in 48 languages (#34784) 2026-11-23 00:20:14 +04:00
Classic298 a3992d2365 fix: an agent model picked on a folder page is replaced by the default model when the message is sent (#34805)
On a folder whose default machine offers coding agents, picking one of the agent models on the folder page and sending a message opened the new chat tab on the default model, so the agent never got the message. The new tab looked up the machine's agent models before it knew the folder's working directory, got the agents of the machine's default directory and dropped the picked one. The tab now starts out with the folder's directory, so the picked agent model is kept and the chat runs on it in the folder's directory.

Fixes #34803
2026-11-23 00:18:17 +04:00
Classic298 637cca216f fix: a model link opens the model picker instead of selecting the model while a machine is picked (#34804)
Opening a model link (an address ending in ?model= and a model id) in a fresh page, with a machine picked earlier in the chat input's Machine menu, left the new chat without a model, and the model picker opened with the model's id in its search box. The picked machine made the model list look loaded but empty before the list had arrived, so the model looked missing. Now the new chat waits for the full list, and the link selects the model with or without a machine picked.

Fixes #34800
2026-11-23 00:18:05 +04:00
Timothy Jaeryang Baek e5b098c681 refac 2026-11-22 23:44:38 +04:00
Timothy Jaeryang Baek a78a9663b6 refac 2026-11-22 22:45:57 +04:00
Timothy Jaeryang Baek 53d741157b refac 2026-11-22 22:20:19 +04:00
G30 99e7b89bea feat: Overview in a tab group's + menu shows the chat open in that group (#34770) 2026-11-22 21:57:59 +04:00
G30 76fe98720d i18n: fill missing translations in 15 languages (#34775) 2026-11-22 21:41:22 +04:00
G30 39745ee06c fix: a message pair in a new note chat saves to the note instead of a sidebar chat (#34782) 2026-11-22 21:41:10 +04:00
Classic298 69fe857c5d fix: Qdrant gRPC mode ignores the http or https scheme of QDRANT_URI (#34783)
With QDRANT_PREFER_GRPC enabled, the http:// or https:// part of QDRANT_URI was ignored and TLS was switched on whenever QDRANT_API_KEY was set. A self-hosted Qdrant on plain HTTP with an API key failed every vector DB call with a TLS handshake error, and an https:// address without a key was connected without TLS. gRPC mode now follows the scheme of QDRANT_URI, the same as REST mode already did. An address without http:// or https:// still uses TLS only when an API key is set.

Fixes #34780
2026-11-22 21:40:50 +04:00
Timothy Jaeryang Baek f62d8efc7c refac 2026-11-22 21:25:13 +04:00
Timothy Jaeryang Baek 657276cf88 refac 2026-11-22 20:47:46 +04:00
Timothy Jaeryang Baek a5058fa562 refac 2026-11-22 20:43:18 +04:00
Timothy Jaeryang Baek 7173e6bd56 refac 2026-11-22 20:33:28 +04:00
Classic298 d065a70483 feat: audit path filters also apply to the OpenAI and Ollama routes (#34665)
AUDIT_EXCLUDED_PATHS and AUDIT_INCLUDED_PATHS only matched paths under /api/ and /api/v1/, so the OpenAI and Ollama routes could not be left out of the audit log, and with an include list set they were never logged. Values are now matched against the path with or without that prefix, so openai or ollama cover those routes.

Part of #33249
2026-11-22 20:29:06 +04:00
Classic298 45f489bea8 fix: chats fail when a Tether OpenAPI tool has the same name as another tool (#34730)
When two tool servers offer a tool with the same name, Open WebUI puts the server ID in front of the second one so the model can tell them apart. Tool servers added in Tether have IDs with colons, so the renamed tool broke the name rules of OpenAI-compatible providers and the provider rejected the whole chat for an invalid tool name. The same happened for admin tool servers whose ID has a dot. Characters outside letters, digits, underscores and dashes are now replaced with underscores in the renamed tool, and calls still reach the right server. Same cause as #34718, which covered MCP servers from Tether.

Fixes #34729
2026-11-22 20:28:37 +04:00
Classic298 4fc317b3d1 fix: closed banners stay hidden after Remember Dismissal is turned off (#34684)
When a user closed a banner while its Remember Dismissal switch was on, the banner stayed hidden for them even after the admin turned the switch off, so the admin had no way to show it to them again. A closed banner now stays hidden only while its Remember Dismissal switch is on. With it off, the banner comes back on the next page load as the banners docs page says, and turning the switch back on hides it again for users who closed it while the switch was on.

Fixes #34683
2026-11-22 20:27:38 +04:00
Timothy Jaeryang Baek b51bf84835 refac 2026-11-22 20:26:22 +04:00