In a chat opened in a tab beside another chat, the Reference Chats list left out the chat in the main view and offered the tab's own chat, so a chat could be attached to itself. The list now leaves out the chat you are typing in, whether it is open in the main view or in a tab.
Fixes#34203
With a note open and its chat beside it, every finished answer in that chat also popped up as a notification, and a tool's request for input there was cancelled at once by the main chat, which stays loaded behind the note. The chat beside a note is now listed among the chats open beside the main chat, as a side chat already is, so its answers no longer pop up and its input requests stay with it. A chat left by picking another one, beside a note or in a side chat, comes off that list again.
Fixes#34153Fixes#34154
Text typed into the message box of a chat that already has messages, in the main view or in a side chat, was gone after a reload, while a new chat kept its text. The saved text was put back before the message box was shown, so the box came up empty and that empty text was then saved over it. It is now put back once the box is shown, the same way a new chat already does it.
Fixes#34023
Moving a workspace tab with Alt+Shift+ArrowLeft or Alt+Shift+ArrowRight moved it one place and then dropped the keyboard focus to the page, so a second press and the arrow keys did nothing until the tab was clicked again. The moved tab now keeps the focus, so it can be moved several places in a row and the arrow keys keep working, the same way the focus already returns to a tab after one is closed.
Fixes#34099
Since the workspace pages open as tabs inside Open WebUI, Save & Create on a new skill showed the success message and then the "Discard unsaved skill changes?" dialog, although the skill was already saved, and the create form stayed open until the dialog was confirmed. Save draft as copy, in the notice shown when someone else saved the skill first, did the same. Both now open the saved skill straight away, as in v0.13.3, while leaving a skill with real unsaved changes still asks.
Fixes#34209
When someone pressed a button on an app message in a channel and the app answered only for them (a card, a file to download or an error), the answer never appeared. Private answers to a mention of the app were not affected. Button answers now show again under the app's message, marked "Only visible to you" for the presser alone.
Fixes#34205
In chat replies, a formula written right next to a hyphen (U+2010) or a non-breaking hyphen (U+2011), as in "\(x^2\)‑term", stayed plain text, and when another formula followed later in the paragraph, the text between the two showed up as one red math error. Some models, gpt-oss among them, write the non-breaking hyphen in most of their answers. Both hyphens now work directly before or after a formula, the same way the plain hyphen and the en and em dashes already do.
Fixes#34237
Opening a chat someone shared with you under "Allow replies" while your own voice call was running ended the call as intended, but left an empty Voice tab open in front of the chat, so the chat stayed hidden until you switched tabs. The Voice tab now closes along with the call, so the shared chat shows straight away.
Fixes#34249
Sub-agents could only be switched on or off for the whole instance, so once they were on every user could spawn them and an admin had no way to keep the extra model usage to a pilot group. The user permissions now have a Sub-agents switch under Features, both in the default permissions and in each group, next to Memories and working the same way. Users without the permission no longer get the sub-agent tool in their chats, nor the timer tool that is part of the same feature. Admins are not restricted by it, and with sub-agents off in Admin Settings nobody gets them, admins included. The permission is on by default, so existing instances behave as before until an admin turns it off; the default can also be set with the USER_PERMISSIONS_FEATURES_SUBAGENTS environment variable.
Closes#34038
* refac: chat input reads its terminal from the chat it belongs to
The message input with its menus, skills dialog and command lists read the selected terminal and the terminal's skills from one page-wide place. They now get both from the chat they are part of. Every chat still hands over the same page-wide selection, so nothing changes for users. This prepares for chats that run next to the main chat and keep their own terminal; the text editor inside the input, the message list, the model list and the current side chat's own request still look the terminal up page-wide.
* refac: the chat builds the key for its unsent input in one place
The chat spelled out the storage key for its unsent input in six places. One function builds it now, with the same keys as before, so nothing changes for users. This prepares for chats that run next to the main chat and keep their unsent input apart.
* fix: two chats on one page take each other's unsent text, input requests and regenerate shortcut
With a chat open next to a note, three things reached the wrong chat. Text typed into a new chat next to a note replaced the unsent text of a new main chat. An input request from a tool was answered as cancelled by the other chat on the page before its dialog could show. The regenerate shortcut, pressed in the main chat's input, regenerated the note chat's answer. Each chat now keeps its own unsent text and leaves the other chat's input requests alone, and the shortcut takes the main chat's last answer.
* refac: let the chat run inside a side chat tab
A second copy of the chat can already run on the same page, next to a note. This prepares it to run in a side chat tab too: it can be opened with a given conversation, unsent input and first message, and it sends the parent chat's messages to the model as context while showing only what was written in the side chat. A chat in a side tab keeps away from what belongs to the main chat: it uses the main chat's terminal without changing it, and it leaves the last used model, sign-in redirects and prompts sent by embeds to the main chat. Nothing opens a chat in a side tab yet, so the main chat and the chat next to a note behave as before.
* refac: side chat uses the same chat as the main view
The side chat was a separate, reduced version of the chat with its own code for sending, streaming and loading, so many chat features were missing or behaved differently there. A side chat tab now runs the same chat as the main view and the separate version is removed. Message buttons, sources, token usage, follow-ups, slash commands, queued messages, chat variables and tool events such as code execution and input requests now work in a side chat. Chats saved by the old side chat still open, and in most places where the old side chat had its own rules it now follows the main chat, for example it can answer with several models at once and shows errors as notifications. A new chat opened in a tab on its own, for example from a pinned model, no longer gets the neighbouring chat's system prompt and the side conversation instruction saved as its own.
Fixes#34029
The Temporary Chat button puts `?temporary-chat=true` into the address of a new chat, and a page reload reads it there. Before the first message was sent the address lost it (after switching to the Notes tab and back to the chat tab, after opening a folder or after a reload while a folder is open) while the Temporary Chat label still showed, so the next reload opened a normal chat and a message sent then was saved. While a new chat is the active tab, its address now carries `?temporary-chat=true` whenever Temporary Chat is on (also when it was turned on by the keyboard shortcut, by Temporary Chat by Default or by enforced temporary chats) and no longer carries it when Temporary Chat is off. An existing quirk remains: reload a temporary new chat, turn Temporary Chat off and send a message, then start a new chat from the chat header on a small screen or delete or archive that chat, and the new chat is temporary again. This now also happens when the reloaded chat was made temporary with the keyboard shortcut and, from the chat header only, with Temporary Chat by Default.