Commit Graph
11587 Commits
Author SHA1 Message Date
Classic298 eb2a3a6a21 fix: Files tab stays on the old terminal after switching terminals (#33954)
Picking a different terminal for a chat left the open Files tab showing the previous terminal's folder and files, while the chat itself was set to the new terminal. Seeing the new terminal's files meant opening Files again from the + menu. The Files tab now moves to the newly picked terminal and shows its files, as the file browser did in 0.12. With a terminal set to Per chat, the tab shows that chat's own files once the first message creates the chat.

Fixes #33951
2026-11-09 07:10:40 +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
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 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
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
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 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
Timothy Jaeryang Baek e8c0ad85e5 refac 2026-11-08 18:37:29 +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 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 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
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
Timothy Jaeryang Baek 41f64e7054 refac 2026-11-08 12:08:09 +09:00
Timothy Jaeryang Baek 752bdbd322 refac 2026-11-08 12:06:16 +09:00
Classic298 4bd5fafffc feat: show when an assistant reply finished instead of when the prompt was sent (#33895)
Assistant replies showed the time the prompt was sent, so a reply carried the same time as the message above it, even when it took minutes to finish. Replies now show the time they finished. Open WebUI already records that time for every reply, and replies created before v0.12.5, which did not record it yet, keep showing the send time. A reply that is stopped or fails shows its finish time after a reload.
2026-11-08 12:01:09 +09:00
Timothy Jaeryang Baek 1cfb04e054 refac 2026-11-08 11:59:40 +09:00
Timothy Jaeryang Baek 53b1b1928b refac 2026-11-08 11:56:40 +09:00
Timothy Jaeryang Baek 27dab9e197 refac 2026-11-08 11:34:05 +09:00
Timothy Jaeryang Baek a545063b70 refac 2026-11-08 11:32:34 +09:00
Classic298 ab416b0e30 fix: empty sections and submenus show when every control in them is hidden (#33867)
The Visible controls setting in Admin Interface can hide single options from users, but hiding every option in a group left the group itself behind. Users then saw an empty Capabilities or Builtin Tools section in the model editor, a bare Artifacts heading in Interface settings, and an Add Context entry in the chat input menu that opened an empty list. These now disappear once nothing inside them is visible, like the Default Features section already does.
2026-11-08 11:32:20 +09:00
Timothy Jaeryang Baek ad0114326b refac 2026-11-08 11:21:10 +09:00
Timothy Jaeryang Baek 5d868f91ac refac 2026-11-08 11:06:22 +09:00
Classic298 0ffe091088 fix: a saved voice note does not open in a tab (#33902)
Saving a voice note wrote the recording and the Markdown note to the Open Terminal, but the note never opened, so people had to find it in the file browser by hand. The saved note now opens in its own tab right after Save.

Fixes #33886
2026-11-08 10:46:23 +09:00
Classic298 9b7d13b41f fix: a tool call in a side chat waits for approval forever (#33889)
With tool permissions set to Ask for approval, a tool call in a side chat stopped to wait for approval, but the side chat showed no Allow or Deny, so the reply never got past preparing the tool call. A tool call waiting for approval in a side chat now shows the same Allow and Deny buttons as in the main chat, and the reply continues once you answer.

Fixes #33873
2026-11-08 10:42:33 +09:00
Classic298 7ee53a9829 fix: closing the + menu on a phone brings up the keyboard (#33893)
On a phone, closing the + menu put the cursor back in the message box, so the on-screen keyboard popped up every time someone switched on Web Search, picked a tool or just opened and closed the menu. The old Integrations menu already skipped this on phones, but that was lost when the integrations moved into the + menu. Now the + menu leaves the message box alone on a phone too, and on a desktop it still puts the cursor back in the message box.

Fixes #33881
2026-11-08 10:42:11 +09:00
Classic298 0b6d434059 fix: an HTML or SVG block in a reply hides the chat (#33894)
On a wide window, a reply with an HTML or SVG block opened Artifacts as a tab in place of the chat, so the reply kept streaming out of sight until you clicked back to the Chat tab. The same happened with a code block's Preview button and the Artifacts entry in the chat's menu. Artifacts now open in a pane beside the chat, where side chats open too.

Fixes #33878
2026-11-08 10:41:48 +09:00
Classic298 e84dba2d3e feat: group digits in the token usage tooltip (#33896)
The token usage shown when hovering the info icon under a reply listed large counts as one long run of digits, so a value like 26678623 was hard to read at a glance. Whole numbers in that tooltip are now grouped for the language set in Open WebUI, for example 26,678,623 in English or 26.678.623 in German. Decimal values such as costs are not grouped and look as before.
2026-11-08 10:41:35 +09:00
Classic298 e9a9e16baa fix: Return to call does nothing after switching to the chat tab during a call (#33898)
On a wide screen a voice call opens as a Voice tab next to the chat. After switching to the chat tab during the call, the voice button in the message box changes to Return to call, but clicking it did nothing and the call kept running out of view. Return to call now shows the Voice tab again, the same as clicking it in the tab bar.

Fixes #33884
2026-11-08 10:40:56 +09:00
Classic298 90902a6ddc fix: chat layout stops saving after a network reconnect (#33899)
After the browser reported the network back (a Wi-Fi reconnect or a laptop waking up), a chat's layout (split panes, divider position, open tabs) stopped saving for the rest of the session. The changes stayed on screen but were gone after a reload. Layout changes now keep saving after a reconnect.

Fixes #33892
2026-11-08 10:40:35 +09:00