Commit Graph
20824 Commits
Author SHA1 Message Date
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
Timothy Jaeryang Baek 7e5c7c02b9 refac 2026-11-17 01:01:23 +09:00
Timothy Jaeryang Baek 6695423f2c fix: chat goes back to an older summary after a compaction during a tool run
Fixes #34140
2026-11-17 01:01:02 +09:00
Timothy Jaeryang Baek a38905a9dd refac 2026-11-17 00:59:06 +09:00
Classic298 7b3b52a472 fix: web pages signed by an internal CA fail to load when SSL verification is on (#34482)
* fix: web pages with a port or username in the URL fail to load when SSL verification is on

With web loader SSL verification enabled, an HTTPS link that spells out a port (even :443) or carries a username, like https://example.com:8443/ or https://user@example.com/, was always rejected and the page never loaded. The certificate check mistook the port and username for part of the site's name and always checked port 443. It now checks the site itself on the port given in the link, or 443 when there is none, so these pages load again. Sites with invalid certificates are still rejected.

Fixes #34462

* fix: web pages signed by an internal CA fail to load when SSL verification is on

With Verify SSL Certificate on, the certificate check that the Playwright web loader runs before reading a page trusted only the public certificate authorities, so a site signed by an internal CA was rejected even when that CA was set through the `AIOHTTP_CLIENT_SSL_CERT_FILE` environment variable. The check now trusts the same certificates as Open WebUI's other outbound requests, including a CA file named directly in `AIOHTTP_CLIENT_SESSION_SSL`. A CA file that holds only the internal CA therefore rejects public sites at this step too, as it already does for every other outbound request. Builds on #34476 and goes in after it.

Fixes #34479
2026-11-17 00:57:24 +09:00
Classic298 d8702888fb fix: a repeating automation the model created opens with a Save button although nothing changed (#34429)
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
2026-11-17 00:57:14 +09:00
Classic298 4e47a27100 fix: an unsaved edit in a terminal file is lost when another chat is opened (#34135)
* fix: an unsaved edit in a terminal file is lost when another chat is opened

An edit typed into a file opened from the terminal's Files tab and not saved yet was gone after opening another chat and coming back: the file's tab showed the last saved version and lost its unsaved mark, without any warning. The app keeps such an edit in memory when you leave a chat, but a second copy taken while the chat was being closed, when the editor was already gone, overwrote it with one that had no edit in it. Now the edit and its unsaved mark are back when you return to the chat, the same as after switching to another tab in the same chat.

Fixes #34107

* fix: a workbook saved while leaving the chat comes back on its first worksheet

When a workbook save was still running as you switched to another chat, the workbook came back on its first worksheet instead of the one you had open. The late save result now keeps the rest of the file's view, so the worksheet you were on is still selected when you return.

* fix: an unsaved edit in a terminal file is lost when another chat is opened

Shortens the note on why the file view keeps its last full state after the chat is closed.

* Say why the view is reused after teardown

* Name the kept view like the file's other remembered values
2026-11-17 00:55:26 +09:00
Classic298 14618e3553 fix: terminal connection with Auth set to None cannot be saved without an API key (#34109)
In the Add and Edit Terminal Connection dialogs, Save did nothing while API Key was empty, so a terminal server that needs no key could only be added or changed after typing some text into the key field. API Key is optional again, as it was in 0.13.3 and as it is in the other connection dialogs.

Fixes #34086
2026-11-17 00:55:05 +09:00
Classic298 74370b2ae1 fix: browser notification for a thread reply opens the channel instead of the thread (#34233)
Clicking the browser notification for a reply inside a channel thread opened the channel with the thread closed, so the reply was not visible. The in-app notification for the same reply already opened the thread. Clicking the browser notification now opens the thread, and a notification for a regular channel message (not in a thread) still opens the channel.

Fixes #34232
2026-11-17 00:50:57 +09:00
Timothy Jaeryang Baek 7e71489a40 refac 2026-11-17 00:49:48 +09:00
Timothy Jaeryang Baek 8d7a8dbe54 refac 2026-11-17 00:47:42 +09:00
Timothy Jaeryang Baek b1be6d04e7 refac 2026-11-17 00:40:16 +09:00
Timothy Jaeryang Baek c82ceaf1fc refac 2026-11-17 00:31:18 +09:00
Classic298 1712f4fa6c fix: recordings in Notes fail to upload to some S3-compatible storage (#34545)
A recording made in a note was named after the date and time in the display format of the user's language, which puts a colon in the name in every language and slashes in many (English, French, Japanese and others). Object stores that reject colons in object names refused the upload with InvalidObjectName, and on every storage the slashes cut the name short, so an English recording was saved as just "2026 3:25 PM.webm". Recordings are now named like "Recording-2026-11-16 15-25-06.webm" in every language, which every storage accepts and which still sorts by date.

Fixes #34543
2026-11-17 00:16:41 +09:00
Timothy Jaeryang Baek f14dca0eec refac 2026-11-17 00:14:38 +09:00
Classic298 1a855ca9a3 feat: tool labels also show for failed tool calls (#34000)
When a tool call failed, the short label the model gives each call was hidden, and one failed call also hid the labels of the other calls grouped with it. Failed calls now keep their label, on their own and in a group. The red cross still marks the failure, and calls without a label keep the text they showed before.
2026-11-17 00:01:23 +09:00
Timothy Jaeryang Baek 445db6d0b5 refac 2026-11-16 23:55:22 +09:00
Classic298 75bb64be19 fix: two background sub-agent reports that finish close together split the chat into two branches (#34542)
* fix: two background sub-agent reports that finish close together split the chat into two branches

When a model started two background sub-agents and the second one finished while the reply to the first report was still being written, the second report was attached to the answer that started them. The two reports ended up as separate branches and the chat switched to the second one, hiding the first report and the reply to it. The second report now goes after the reply that is still being written and is answered once that reply ends, so the conversation stays on one branch.

Fixes #34540

* Only treat an unfinished reply as the place for a report while it is still being written
2026-11-16 23:27:31 +09:00