In a temporary side chat, clicking a source from a knowledge base did nothing, both on the citation marker in the reply and in the source list. No tab opened beside the chat and no source dialog showed either. The file now opens in a tab beside the chat with the cited passage marked, the same as in a saved side chat or a temporary main chat.
Fixes#34921
In the skill editor, files selected with a Shift or Ctrl/Cmd click stayed selected until each one was unchecked by hand, and while any file was selected a click on a file only added it to the selection. Escape and a click on the empty part of the file list now clear the selection, like the file browser in a chat's Files panel. An Escape that closes one of the editor's dialogs or menus, or cancels a rename, keeps the selection.
Fixes#34690
The model editor waited for the tools list, skills, functions, tag suggestions and the TTS voice list one after the other before showing the form. With a TTS provider that lists voices over the network or a few tool servers, that took seconds on every open. Only the model defaults set by the admin are needed to draw the form, so the editor now waits for those alone and the other lists fill in when they arrive. Saved selections show right away, and saving before a list has arrived keeps them.
<table>
<tr><td></td><td>before</td><td>after</td></tr>
<tr><td>Edit model, voice list taking 1.5 s, 3 tool servers</td><td>2344 ms</td><td>240 ms</td></tr>
<tr><td>New model, same setup</td><td>2305 ms</td><td>227 ms</td></tr>
<tr><td>Edit model, voices and tools answering at once</td><td>231 ms</td><td>233 ms</td></tr>
</table>
Fixes#34843
In the Chrome view of the Browser tab, text typed through an input method (Korean, Japanese, Chinese and others) never reached the page, and in some browsers neither did text typed with dead keys (an accent key followed by a letter, like ´ then e for é). Plain letters and paste worked. After you click into the page, composed text now reaches it when the input method finishes it, so with Korean each syllable shows up once you start the next one, press space or Enter, or click. Plain typing, shortcuts and paste work as before while nothing is being composed.
Fixes#34717
Every page, the login page included, downloaded the full code highlighting library with all its languages before it appeared, about 300 KiB compressed. It now loads only where code is shown or edited. Code in chat messages and message inputs shows plain for a moment on first load and is colored as soon as the library arrives, while notes and other editors load it before they open, so a note is never modified just by opening it. Copying a response with formatting never actually used the library, so that leftover code is gone.
<table>
<tr><th>Cold load, 5 Mbps</th><th>Before</th><th>After</th></tr>
<tr><td>Login page JavaScript (compressed)</td><td>1062 KiB</td><td>769 KiB</td></tr>
<tr><td>Login page, password field visible</td><td>3440 ms</td><td>2945 ms</td></tr>
<tr><td>New chat JavaScript (compressed)</td><td>1747 KiB</td><td>1454 KiB</td></tr>
<tr><td>New chat, input usable</td><td>5528 ms</td><td>5105 ms</td></tr>
</table>
Fixes#34888
When a reply broke off mid-stream and Continue Response then finished it, the old error stayed under the answer, also after a reload. Continuing now clears the old error as soon as the new attempt starts, on screen and in the saved chat. A continuation that fails again shows and saves its own error, and nothing sent to the model changes.
Fixes#34814
In the model editor's Features section, the switch that makes Web Search, Image Generation or Code Interpreter available and the switch that turns it on by default in new chats had the same name, so a screen reader announced two identical "Web Search" switches and labels. The default switches and their labels are now announced as "Start enabled in new chats: Web Search" and so on, matching the caption shown above them. The visible labels stay the same.
Fixes#34790
Every toggle in personal Settings and the Save button in General reloaded the full model list after storing the setting, which calls every connected provider live. The "Settings saved" message waited for that, so a slow connection made each click lag. None of these settings change the model list any more since personal connections were removed from user settings, so a save now just stores the setting and applies it.
<table>
<tr><td>Mock provider, 500 ms model list, 15 saves</td><td>Before</td><td>After</td></tr>
<tr><td>Interface toggle, click to save done</td><td>~580 ms</td><td>~45 ms</td></tr>
<tr><td>General Save, click to "Settings saved"</td><td>~585 ms</td><td>~70 ms</td></tr>
<tr><td>Provider model list calls per save</td><td>1</td><td>0</td></tr>
</table>
Fixes#34846
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
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
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
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
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
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
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
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
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
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
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