Commit Graph
20841 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 0dcf8ac53f refac 2026-11-17 22:11:01 +09:00
G30 0132d879c0 fix: a tab for a channel or note that no longer exists closes instead of staying on a spinner (#34294) 2026-11-17 22:05:37 +09:00
Timothy Jaeryang Baek 97bb6b3223 refac 2026-11-17 22:04:44 +09:00
Timothy Jaeryang Baek 7e91c04125 refac 2026-11-17 22:04:06 +09:00
Timothy Jaeryang Baek ae35197cee refac 2026-11-17 22:03:13 +09:00
Timothy Jaeryang Baek 720bb54434 refac 2026-11-17 22:01:25 +09:00
joaoback 9c1521aaa4 i18n: add pt-BR translations for newly added UI items and consistency pass (#34591)
New **pt-BR** translations for items introduced in the latest releases, plus a small consistency pass across existing strings. Placeholders preserved. No logic changes.
2026-11-17 21:55:49 +09:00
Classic298 e7f02d6825 fix: MCP sign-in fails when the server signs its ID token with the client secret (#34593)
Connecting an MCP server over OAuth 2.1 failed with "Algorithm 'HS256' requires 'oct' key" when the server asked for the openid scope and signed the ID token it returned with the client secret, as Readwise does. Open WebUI tried to check that ID token against the server's published keys, which cannot work for this valid signing method, and threw away the access token it had just received. MCP connections only use the access token, so the sign-in no longer checks the ID token and the connection goes through. SSO login is unchanged.

Fixes #34504
2026-11-17 21:54:17 +09:00
Classic298 4360aeee7f perf: model list loads slowly with Redis when models have large profile images (#34595)
With Redis, every large model profile image makes each load of the model list slower, and Redis holds a full copy of every image, even though the list never shows them (the interface fetches each picture separately). Animated or imported profile images are kept at full size and can be several MB each. Open WebUI now leaves profile images out of the model details it keeps for chats, so Redis no longer holds them and the list loads faster. Functions and Tools now get the model without its profile image.

Measured with 50 custom models, one server process. Each number is the middle value of 5 runs of 60 list loads:

| | before | after |
|---|---|---|
| Redis, 4 images (20 MB as stored) | 64 ms | 45 ms |
| Redis, 12 images (57 MB as stored) | 150 ms | 86 ms |
| No Redis, 4 images | 47 ms | 45 ms |
| Redis memory used by the model list, 4 / 12 images | 24 / 71 MB | 35 KB |

Fixes #34594
2026-11-17 21:53:05 +09:00
G30 f91f3af219 fix: opening a chat that is already open in a tab no longer shows it twice side by side (#34471) 2026-11-17 20:35:15 +09:00
Classic298 b4a88505e1 fix: long Markdown files freeze the page when opened from a terminal's Files (#34491)
Opening a long Markdown file from a terminal's Files froze the whole tab, and typing inside a code block froze it again on every keystroke. The editor guessed the language of every code block that names none by trying every language it knows, about 15 ms per block, so a 750 KB file with a thousand such blocks blocked the page for 19 seconds. Code blocks with no language, or one the editor does not know, now show as plain text, as chat and the read-only file view already show them, and the same file now freezes the page for about 2 seconds. Code blocks that name a language the editor knows are highlighted as before. The same goes for the other places that use this editor, such as notes and the message box with rich text on.

Fixes #34486
2026-11-17 20:34:23 +09:00
Timothy Jaeryang Baek b462a23a70 refac 2026-11-17 20:34:05 +09:00
Classic298 ab73749ca0 fix: SSO session is lost when the provider has a temporary outage during token refresh (#34585)
When the sign-in provider was unreachable, rate limited or answered with a 5xx while Open WebUI refreshed the user's token, the stored login session was deleted. Tools and connections set to use the user's sign-in token then got no token until the user signed out and back in. Now such failures keep the session and the next tool call refreshes again, while a refresh the provider rejects still removes it, matching the earlier fix for MCP connections.

Fixes #34578
2026-11-17 20:33:00 +09:00
G30 3807e9c87e fix: the Unpin button on a pinned note shows a tooltip, as on pinned models (#34568) 2026-11-17 20:32:49 +09:00
Timothy Jaeryang Baek bf8a8dcc7f refac 2026-11-17 20:28:38 +09:00
Timothy Jaeryang Baek 1b2c6da879 refac 2026-11-17 20:28:26 +09:00
Timothy Jaeryang Baek c041c98220 refac 2026-11-17 19:59:57 +09:00
Timothy Jaeryang Baek 9a5cd68d20 refac 2026-11-17 19:57:45 +09:00
Classic298 00bd84944d fix: log a warning when an OAuth session is deleted (#34583)
Signing in past OAUTH_MAX_SESSIONS_PER_USER prunes a user's oldest stored OAuth sessions, a back-channel logout from the identity provider ends all of them, and connecting an MCP server again replaces the old session for that server. Pruning and the reconnect logged nothing, and the provider logout logged one info line per user without saying which sessions it removed, so an admin could not trace why a user's provider login was gone. Each of these deletions now logs a warning with the user, the session ID and the reason, the same way a failed token refresh already does.

Fixes #34580
2026-11-17 19:32:55 +09:00
Classic298 f3660788ab fix: OAuth session limit drops a device still in use after sign-outs elsewhere (#34586)
Signing out left the browser's stored OAuth session in place, and once a person reached OAUTH_MAX_SESSIONS_PER_USER the next sign-in removed the sessions created first. A device signed in early and still in use lost its session to ones from browsers that had already signed out. Signing out now removes that browser's stored session when the person still has another one for the same provider, and the limit removes the sessions that were signed in or refreshed least recently. A person's only session stays after sign-out, because automations and API key calls keep using it.

Fixes #34581
2026-11-17 19:32:44 +09:00
Timothy Jaeryang Baek c201472cf8 refac 2026-11-17 19:31:57 +09:00
Timothy Jaeryang Baek 3349606652 refac 2026-11-17 19:13:47 +09:00
Timothy Jaeryang Baek e1d2722520 refac 2026-11-17 18:48:38 +09:00
Classic298 c7dcba6b04 fix: a reply waiting for a tool approval is treated as finished (#34574)
When a reply stopped to wait for a tool approval, the chat treated it as finished: Regenerate showed up on it while the approval was still open, and in a voice call the answer that followed the approval was never spoken. The chat now shows such a reply as still in progress until the approval is answered and the answer is complete, so Regenerate stays hidden and a voice call speaks the answer.

Fixes #34572
2026-11-17 18:19:36 +09:00
Timothy Jaeryang Baek c68b8a632e refac 2026-11-17 17:02:34 +09:00
Timothy Jaeryang Baek dfc68aa212 refac 2026-11-17 14:06:14 +09:00
Classic298 958edefcac fix: switching an optional valve to Custom in the chat controls shows an error (#34478)
* fix: switching an optional valve to Custom in the chat controls shows an error

Switching an optional valve, such as an optional on/off setting, from Default to Custom in the Valves section of the chat controls saved the still empty box right away, and the server refused it with "Error updating function user valves". Emptying the box later failed the same way. Switching to Custom now saves once something is entered, and an emptied optional on/off or number valve goes back to its default; optional text valves still save an empty text.

Fixes #34475

* Drop a comment that restates its condition

* Name schema entries the way the schema helpers do
2026-11-17 13:59:54 +09:00
Timothy Jaeryang Baek 5ddd419539 refac 2026-11-17 13:58:25 +09:00
Timothy Jaeryang Baek 587aba0383 refac 2026-11-17 13:48:08 +09:00
Timothy Jaeryang Baek 381c81b2e2 refac 2026-11-17 12:58:50 +09:00
Classic298 a0dda93bc0 fix: Stop button stays after Send now on a queued message (#34556)
After pressing Send now on a queued message, the Stop button sometimes stayed up once the answer had finished, and the chat looked busy until the page was reloaded; it showed up mostly in side chats. When the answer ended while the chat was still updating to show the queued message, the chat kept an outdated view of the answer and went on treating it as running. The chat now looks at the latest state of the answer once it has updated, so the Stop button goes away when the answer ends.

Fixes #34553
2026-11-17 12:45:37 +09:00
Timothy Jaeryang Baek 2fd35c80ee refac 2026-11-17 12:44:09 +09:00
G30 772f16c5d4 i18n: fill missing translations in 31 languages and fix 240 existing ones (#34560) 2026-11-17 12:42:48 +09:00
Timothy Jaeryang Baek ba4c3f4ca6 refac 2026-11-17 12:33:56 +09:00
Classic298 6ac7d11a3f fix: Refresh in Files keeps the old list when the terminal cannot list the folder (#34551)
When the terminal refused to list the open folder, for example after its API key changed, pressing Refresh above the Files list kept the old entries on screen and said nothing. Refresh now clears the list and any ticked items and shows "Failed to load directory. Check your Terminal connection in Settings → Integrations.", the same as opening the folder does, and the next Refresh lists the folder again once the terminal answers. The list also reads itself again after a sort change, showing hidden files, a file change or a change on the terminal, and those reads show the same message when they fail.

Fixes #34550
2026-11-17 02:39:47 +09:00
Classic298 93a7bbb185 fix: a folder whose terminal working directory is missing loses the first message and leaves an empty chat (#34552)
Sending the first message from a folder whose default terminal points at a working directory that does not exist showed "Working directory is unavailable", but it still created an empty New Chat in the folder and switched to it, with the typed message gone from the message box. Now the warning still shows, but no chat is created: the folder page stays open and the message stays in the message box, ready to send once the directory is fixed.

Fixes #34367
2026-11-17 02:37:51 +09:00
Timothy Jaeryang Baek 485c6d50da refac 2026-11-17 02:32:18 +09:00
Timothy Jaeryang Baek 988708b8ee refac 2026-11-17 01:58:43 +09:00
Timothy Jaeryang Baek e58dacf0cb refac 2026-11-17 01:57:18 +09:00
Classic298 139ca26f93 fix: a tool call that runs past the tool server timeout reaches the model as an empty error (#34119)
When a terminal command or a tool server call took longer than the tool server timeout (AIOHTTP_CLIENT_TIMEOUT_TOOL_SERVER), the model got `{"error": ""}` back as the tool result, with nothing saying what went wrong. It now gets `{"error": "TimeoutError"}`, which is also what Open WebUI already reports when reading a tool server's list of tools times out, so the model can tell the user that the call timed out.

Fixes #34096
2026-11-17 01:28:40 +09:00
Classic298 a121ac4d01 fix: chat whose history loops back on itself freezes the tab on open (#34481)
A chat whose saved messages form a loop, an earlier message stored as the reply to a later one, never opened: the tab froze and its memory grew until it crashed, again on every reload. The chat now stops following the loop once it reaches a message it has already shown, the same way switching between response versions already handles it, so the chat opens and shows its messages.

Fixes #34477
2026-11-17 01:26:45 +09:00
Classic298 a18774d2b8 fix: MCP servers with a tool list or tool result over 1 MB stop working (#34421)
* fix: MCP servers with a tool list or tool result over 1 MB stop working

Since the MCP library update in 0.12.4, an MCP server that answers with a tool list or a single tool result larger than 1 MB fails with "Failed to connect to MCP server", or the tool call fails. The server answers fine; the library rejects any streamed message over 1 MB, and a server that streams its whole tool list in one message hits that as soon as it offers enough tools. Those messages are accepted again at any size, the way they were before the update and the way plain JSON answers from the same servers already are.

Fixes #34201

* Lift the same limit for MCP servers reached through Tether
2026-11-17 01:26:29 +09:00
Classic298 457068f2e2 fix: editing an automation the model created can move its runs to other dates (#34443)
* fix: a repeating automation the model created opens with a Save button although nothing changed

Opening a daily, weekly or monthly automation the model created in a chat showed Save right away, as if something had been edited, because the page took the start date such a schedule is saved with for a change of its own. Save now only shows once a field is edited.

Fixes #34427

* fix: editing an automation the model created can move its runs to other dates

An automation the model creates from a chat stores its repeating schedule with a start date. Editing only its name or another field on the automation's page dropped that start date. A schedule meant to start later then began running right away, and one that repeats every other week could move by a week. Editing other fields now leaves the schedule as it was, and changing the schedule itself saves the new one as before.

Fixes #34430
2026-11-17 01:25:53 +09:00
Timothy Jaeryang Baek c1dc41e80b refac 2026-11-17 01:25:42 +09:00
Classic298 be7290a09b fix: images attached in an agent chat never reach the agent (#33993)
Attaching an image in a chat with a coding agent model (Claude Code, Codex and the others) dropped the image silently, so the agent only saw the text of the message. The image is now sent to the agent together with the message, as it already is for normal chats. Reported in #33991.
2026-11-17 01:22:54 +09:00
Timothy Jaeryang Baek e88b0d6ee9 chore: i18n 2026-11-17 01:22:24 +09:00
Timothy Jaeryang Baek 9a379eaa73 refac 2026-11-17 01:21:35 +09:00
Classic298 b130c7f754 fix: a sub-agent hangs when a filter or tool asks the browser something (#34045)
* fix: a sub-agent hangs when a filter or tool asks the browser something

A filter or tool can ask the browser something: run a script in the page, show a confirmation or a form, or ask for text. In a normal chat that works, but during a sub-agent's run nothing was shown: a form was cancelled on its own, and a script, confirmation or text question was never answered, so the chat stayed on "Executing Sub-agent" until Stop was clicked. With a global filter doing this every sub-agent hung. The question now goes to the browser tab that has the chat that started the sub-agent open: the script runs and the dialog appears there, like in a normal chat. When no tab has that chat open the question is not left waiting: the filter or tool gets an error, at once for a script and after at most a minute for a dialog, and the sub-agent continues without the answer.

Fixes #34041

* fix: sub-agent questions to the browser stay with the chat that started it

A question a filter or tool asks during a sub-agent run now only moves to another tab when the starting tab no longer has that chat open, and it fails at once when no tab does. A sub-agent whose chat was deleted mid-run gets the same error instead of a crash.
2026-11-17 01:14:10 +09:00
Timothy Jaeryang Baek b4cc5b0afe refac 2026-11-17 01:13:22 +09:00
Timothy Jaeryang Baek de68d0ce47 refac 2026-11-17 01:05:45 +09:00