Commit Graph
1001 Commits
Author SHA1 Message Date
Classic298 2065ec9a80 perf: chats opened by link or reload start loading before the model list is in (#34869)
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
2026-11-23 16:14:51 +04:00
Classic298 a3992d2365 fix: an agent model picked on a folder page is replaced by the default model when the message is sent (#34805)
On a folder whose default machine offers coding agents, picking one of the agent models on the folder page and sending a message opened the new chat tab on the default model, so the agent never got the message. The new tab looked up the machine's agent models before it knew the folder's working directory, got the agents of the machine's default directory and dropped the picked one. The tab now starts out with the folder's directory, so the picked agent model is kept and the chat runs on it in the folder's directory.

Fixes #34803
2026-11-23 00:18:17 +04:00
Classic298 637cca216f fix: a model link opens the model picker instead of selecting the model while a machine is picked (#34804)
Opening a model link (an address ending in ?model= and a model id) in a fresh page, with a machine picked earlier in the chat input's Machine menu, left the new chat without a model, and the model picker opened with the model's id in its search box. The picked machine made the model list look loaded but empty before the list had arrived, so the model looked missing. Now the new chat waits for the full list, and the link selects the model with or without a machine picked.

Fixes #34800
2026-11-23 00:18:05 +04:00
G30 99e7b89bea feat: Overview in a tab group's + menu shows the chat open in that group (#34770) 2026-11-22 21:57:59 +04:00
G30 39745ee06c fix: a message pair in a new note chat saves to the note instead of a sidebar chat (#34782) 2026-11-22 21:41:10 +04:00
Timothy Jaeryang Baek b51bf84835 refac 2026-11-22 20:26:22 +04:00
Timothy Jaeryang Baek 14892a184c refac 2026-11-22 18:36:20 +04:00
Timothy Jaeryang Baek 269b1bcc2b refac 2026-11-22 18:19:07 +04:00
Timothy Jaeryang Baek 29c5fbef46 refac 2026-11-22 18:17:45 +04:00
Timothy Jaeryang Baek df6be8c3a1 refac 2026-11-22 17:13:34 +04:00
Timothy Jaeryang Baek 9442dca957 refac 2026-11-22 16:29:29 +04:00
Timothy Jaeryang Baek 67863f310c refac 2026-11-22 15:54:36 +04:00
Timothy Jaeryang Baek c5c42fe3b7 refac 2026-11-21 16:20:44 +04:00
Timothy Jaeryang Baek 6db63cddbe refac 2026-11-21 15:42:07 +04:00
Timothy Jaeryang Baek f80331e08c refac 2026-11-21 15:18:37 +04:00
Timothy Jaeryang Baek a78a66e7de refac 2026-11-21 13:27:07 +04:00
Timothy Jaeryang Baek bc754ef4ec refac 2026-11-20 22:15:12 +04:00
Timothy Jaeryang Baek 76339161b0 refac 2026-11-20 14:43:49 +04:00
Timothy Jaeryang Baek 06b47d455e refac 2026-11-20 11:22:54 +04:00
Timothy Jaeryang Baek c26c928cea refac 2026-11-20 11:08:11 +04:00
Classic298 dcde707f0f fix: Temporary in the / menu does nothing on a new chat (#34609)
On a new chat, picking Temporary from the / menu did nothing, so the next message was saved and showed up in the chat list. Picking it now turns the chat temporary, the same as the Temporary Chat button in the header.

Fixes #34607
2026-11-17 23:33:27 +09:00
Timothy Jaeryang Baek 207c7735f4 refac 2026-11-17 22:24:21 +09:00
Classic298 d4128f0895 fix: a prompt from an embed goes to the wrong chat or to two chats at once (#34161)
* fix: a prompt from an embed goes to the wrong chat or to two chats at once

With a note open and its chat beside it, a prompt sent by an embed in that chat was picked up by that chat and by the main chat behind the note tab, so a tool embed's "ask the chat" button opened two confirmation dialogs. In a side chat the same button asked the prompt in the main chat. Each embed now belongs to the chat that shows it, and only that chat takes its prompt; a prompt from anywhere else goes to the page's main chat as before.

Fixes #34152

* fix: route a prompt from any embedded frame to the chat that shows it

The chat a prompt belongs to is now read from where the sending frame sits on the page, for every frame and not only tool embeds, so artifacts and inline HTML in a chat tab or beside a note also reach the right chat. A prompt that comes from no frame goes to the main chat.

* Name the message's source chat apart from the chat object
2026-11-17 22:20:06 +09:00
Timothy Jaeryang Baek 0dcf8ac53f refac 2026-11-17 22:11:01 +09:00
Timothy Jaeryang Baek c201472cf8 refac 2026-11-17 19:31:57 +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
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
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 e58dacf0cb refac 2026-11-17 01:57:18 +09:00
Timothy Jaeryang Baek 9a379eaa73 refac 2026-11-17 01:21:35 +09:00
Timothy Jaeryang Baek 8d7a8dbe54 refac 2026-11-17 00:47:42 +09:00
Timothy Jaeryang Baek c82ceaf1fc refac 2026-11-17 00:31:18 +09:00
Timothy Jaeryang Baek f14dca0eec refac 2026-11-17 00:14:38 +09:00
Timothy Jaeryang Baek 1588ce1bfc refac 2026-11-16 22:54:17 +09:00
Timothy Jaeryang Baek 03d8d3e353 refac 2026-11-16 22:39:24 +09:00
Classic298 94329cf79c fix: chats are not saved when Allow Temporary Chat is off but Enforce Temporary Chat is on (#34537)
With Enforce Temporary Chat switched on and Allow Temporary Chat switched off in the group permissions, all of that user's new chats were opened as temporary chats and never saved, even though the user has no Temporary Chat button at all. Enforce Temporary Chat now only applies to users who are allowed temporary chats, as in v0.13.3, so these users get normal saved chats again.

Fixes #34536
2026-11-16 22:14:57 +09:00
Timothy Jaeryang Baek 7be99d1e97 refac 2026-11-16 21:56:34 +09:00
Timothy Jaeryang Baek c82884453c refac 2026-11-16 21:43:35 +09:00
Timothy Jaeryang Baek abcebd7d0d refac 2026-11-16 20:02:16 +09:00
Timothy Jaeryang Baek 6afb1681c9 refac 2026-11-16 19:38:00 +09:00
Timothy Jaeryang Baek 21605e268d refac 2026-11-16 19:14:07 +09:00
Timothy Jaeryang Baek 5d55ce7246 refac 2026-11-16 18:36:13 +09:00
Timothy Jaeryang Baek 6f04d48166 refac 2026-11-16 14:21:04 +09:00
Timothy Jaeryang Baek 10e695004c refac 2026-11-15 17:20:16 +09:00
Timothy Jaeryang Baek d7b3d08b4f refac 2026-11-14 14:16:19 +09:00
Timothy Jaeryang Baek 694dc9796c refac 2026-11-14 01:15:47 +09:00
Timothy Jaeryang Baek 6378f94a65 refac 2026-11-14 00:45:43 +09:00
G30 9180f1e208 fix: deleting a chat closes the tabs that show it (#34229) 2026-11-13 23:21:54 +09:00
Timothy Jaeryang Baek 747af24b0d refac 2026-11-13 23:05:49 +09:00