Commit Graph
824 Commits
Author SHA1 Message Date
G30 83dcc2dbea feat(chat): generate message pair adds a placeholder reply for every selected model (#32309) 2026-10-13 16:43:43 +04:00
Timothy Jaeryang Baek 3a54306c50 refac 2026-10-12 19:24:52 +04:00
Timothy Jaeryang Baek a9227421d8 refac 2026-10-12 17:57:07 +04:00
Classic298 40df1542ce fix: tools picked in a new chat are dropped after switching away and back (#32235)
A tool picked from the Integrations menu before the first message of a new chat stayed on only until the user left that chat. Coming back, the chat fell back to the model's default tools, so the tool was no longer offered to the model and the changed tool list broke prompt caching. The Web Search toggle was dropped the same way, and a picked skill was lost on reload. The picks are now kept for the chat from its first message on, like picks made later in the chat.
2026-10-12 11:57:30 +04:00
Timothy Jaeryang Baek 78613d86f7 refac 2026-10-11 15:55:57 +04:00
Timothy Jaeryang Baek c7b5edc726 refac 2026-10-10 23:50:29 +04:00
Timothy Jaeryang Baek f0233e1e3a refac 2026-10-10 22:58:12 +04:00
Classic298 469cbc79e3 fix: Stop button stays after a server restart cuts off a reply (#32205)
When the server restarted while a reply was streaming, the page reconnected but kept showing the cut-off reply as still generating. The Stop button stayed and the next message got no answer until the page was reloaded. After reconnecting, the page now checks whether the reply is still being generated and, if not, shows it as finished, which is how it behaved before the shared chats change.

Fixes #32204
2026-10-10 22:49:01 +04:00
Timothy Jaeryang Baek 3d31123467 refac 2026-10-10 22:11:51 +04:00
Timothy Jaeryang Baek a69722f932 refac 2026-10-10 21:24:58 +04:00
Timothy Jaeryang Baek fc31fbfae3 refac 2026-10-10 21:22:09 +04:00
Timothy Jaeryang Baek 82f142d376 refac 2026-10-10 21:11:33 +04:00
Classic298 c2a5c7a24e fix: switching a Chat Controls parameter back to Default ignores your Settings value (#32192)
When a parameter like Temperature was switched to Custom in Chat Controls and then back to Default, the value saved in Settings > General was dropped and the model used its built-in default instead. Default now uses the Settings value again, also in chats where this already happened.

Fixes #32013
2026-10-10 20:12:45 +04:00
Classic298 d12bf062b5 fix: stopping a reply leaves the chat stuck with the Stop button showing (#32184)
Stopping a reply did stop it, but the page kept showing it as still generating: the Stop button stayed and the next message was never answered. The same happened when sending a queued message right away with Send now. After the reply was marked finished, the page put back an older copy of it that was still marked as generating. Stopped replies now show as finished again, the Send button returns and the next message gets an answer.

Fixes #32081
2026-10-10 19:56:19 +04:00
Classic298 958ad36734 fix: reply in a new chat sometimes stays blank until reload (#32181)
In a new chat the reply sometimes stayed blank and looked like it was still generating, with the loading animation and the Stop button, even though the answer was complete on the server. Reloading the page showed it. It happened when the chat's new title arrived while the reply was still coming in: refreshing the chat list with the new title replaced the finished answer with a blank one. A title or tag update no longer overwrites the reply, so the finished answer shows as soon as it is done.

Fixes #32091
2026-10-10 19:56:02 +04:00
Classic298 200036f6a6 fix: a reply rewritten by an action button still shows its old text (#32172)
Pressing an action button whose function rewrites the reply, as the action docs describe, stored the new text with the chat but the chat kept showing the old reply, right away and after a reload. The reply now shows the new text, and its thinking and tool call sections stay visible. The action gets the reply as one text, so when the reply had text both before and after a tool call, all of it is replaced by the new text, shown after the tool calls.

Fixes #32023
2026-10-10 19:48:46 +04:00
Timothy Jaeryang Baek 5de5bf235b refac 2026-10-10 12:35:44 +04:00
Timothy Jaeryang Baek 81b5346c26 refac 2026-10-08 23:25:03 +04:00
Timothy Jaeryang Baek 0ffd86967f refac 2026-10-08 23:21:57 +04:00
Timothy Jaeryang Baek 91853205e8 refac 2026-10-08 23:06:53 +04:00
Timothy Jaeryang Baek 5729d7ad81 refac 2026-10-08 18:13:35 +04:00
Timothy Jaeryang Baek b6988ab2cc refac 2026-10-08 16:57:51 +04:00
Timothy Jaeryang Baek 917f2fd1de refac 2026-10-08 16:49:44 +04:00
Timothy Jaeryang Baek 1e9dd6e330 refac 2026-10-08 15:29:52 +04:00
Timothy Jaeryang Baek 6cfd6987e5 refac 2026-10-08 14:58:06 +04:00
Timothy Jaeryang Baek de73bb830a refac 2026-10-08 14:30:07 +04:00
Timothy Jaeryang Baek c6dd9a451a refac 2026-10-08 01:20:51 +04:00
Timothy Jaeryang Baek 6defd4a947 refac 2026-10-07 16:17:22 +04:00
Timothy Jaeryang Baek 7c9d73b605 refac 2026-10-07 12:37:50 +04:00
Timothy Jaeryang Baek efd94fde63 refac 2026-10-07 00:54:53 +04:00
Timothy Jaeryang Baek ebc6add67b refac 2026-10-07 00:44:55 +04:00
Timothy Jaeryang Baek 093bfce2b6 refac 2026-10-07 00:39:16 +04:00
Timothy Jaeryang Baek e9cca320b4 refac 2026-10-06 22:02:23 +04:00
Timothy Jaeryang Baek 106aae70e9 refac 2026-10-06 21:45:10 +04:00
Timothy Jaeryang Baek 398c37c73c refac 2026-10-05 14:35:15 +04:00
Timothy Jaeryang Baek a3a2e42ee0 refac 2026-10-05 12:53:56 +04:00
G30andPINYO PATTANAWASANPORN ce94c41d81 fix(chat): support unarchive toggle and dynamic toast in chat header menu (#31473) (#31857)
- Pass `archived` state from active chat model to Navbar context menu
- Render 'Unarchive' instead of 'Archive' when `chat?.archived` is true in Navbar/Menu.svelte
- Dynamically display 'Chat unarchived.' toast upon unarchiving in archiveChatHandler
- Closes #31473

Co-authored-by: PINYO PATTANAWASANPORN <pattanawasanporn@gmail.com>
2026-10-05 11:20:02 +04:00
Classic298 95dd3321af fix: images stored inside a chat trigger needless context compaction (#31915)
Images stored inside the chat record itself (chats from older versions, images that could not be saved as files, temporary chats) had their encoded data counted as text when estimating how full the context is, so a single 3 MB image counted as about a million tokens. That pushed the chat over the compaction threshold, summarizing older messages while the chat was well under the limit, and made the context usage indicator jump. The encoded image data is now left out of the token estimate, both for compaction and for the indicator.

Fixes #31913
2026-10-05 06:41:50 +04:00
Classic298 394295ec76 fix: older responses keep a loading cursor forever after opening a chat (#31895)
Opening a chat only cleared the loading cursor on the newest response that never finished, so an older one (from a cancelled generation, or a turn an earlier Open WebUI version left unfinished) kept spinning and never showed its copy and regenerate buttons. Now, when no generation is running in the chat, every unfinished response shows as finished on load, except one waiting for the user to answer a tool's question. While a generation is running nothing changes, because another model's response to the same message may still be streaming in.

Fixes #14806
2026-10-03 17:04:29 +04:00
G30 79baaca3bb fix: apply the Voice mode button's checks when Voice Mode is opened from the URL (#31826) 2026-10-01 20:24:16 +04:00
Timothy Jaeryang Baek f50f9e6252 refac 2026-10-01 03:31:20 +04:00
Classic298 f453324997 fix: artifact preview sometimes closes the moment it auto-opens (#31653)
When a reply contained an artifact and the preview opened automatically, it could check for artifacts before they had been picked up from that reply, find none and close again. This happens occasionally in normal chats, with or without filters, and is older than 0.11.1. The preview now looks for artifacts again at the moment it opens, so it stays open. It is a separate cause from #31643, found while looking into that issue.
2026-09-30 21:02:16 +04:00
G30 176d31d1db fix: turn Code Interpreter off when opening another chat from the sidebar (#31500) 2026-09-28 07:59:54 +04:00
Timothy Jaeryang Baek 82b5181372 refac 2026-09-28 06:15:24 +04:00
Timothy Jaeryang Baek 332237662f refac 2026-09-27 23:18:46 +04:00
G30 2c922bb537 fix: let a chat's Stream Chat Response setting override the account-wide one (#31362) 2026-09-25 00:08:56 -04:00
G30 5f8d8f0c5e fix: resume the send queue after a queued message is deleted or edited (#30447) 2026-09-23 23:03:44 -05:00
Timothy Jaeryang Baek aea7d34f45 refac 2026-09-24 00:00:19 -04:00
Classic298 1b5a8ac5a7 fix: keep model default features when comparing multiple models (#30383)
Adding a second model to a chat turned off Web Search, Image Generation and Code Interpreter even when every selected model has them as Default Features, so the comparison ran without them. Changing the selection clears the feature toggles and then reapplies the model defaults, but defaults were only reapplied for a single model.

In compare mode a default feature is now turned on when every selected model supports it and has it as a default, since the toggles are shared by all models in the comparison. It only ever turns features on, so flags passed in the URL (?web-search=true) are not overwritten. Single-model defaults are unchanged.

The input reset now waits for the model-selection update to finish before applying defaults. Before, the Web Search value actually sent could disagree with the toggle on screen: a single model with Web Search on by default showed the toggle on but sent it off, and switching to a model without it showed it off but still sent it on (see #29326). The toggle and the request now match.

Fixes #30310
2026-09-23 23:51:57 -04:00
Classic298 15f350b417 fix: keep an open chat's tools when clicking a folder name (#30376)
Clicking a folder name in the sidebar while a chat was open switched that chat to the folder's default model for a moment before the page changed. That reset its tools and skills to the folder model's set and saved them as the chat's draft, so on returning to the chat the folder model's tools were shown and sent with the next message. The same happened to a chat just started from the home page.

The folder's default model is now only applied while the chat has no messages yet, the same rule new chats already follow when a folder page opens. Folder pages, new chats in a folder and editing a folder's default model behave as before.

Verified in a browser against a mock upstream: on dev the next request after the folder click carried the folder model's tool_ids and skill_ids; with the fix it carries the chat's own model's set, for both an existing chat and one started from the home page.

Fixes #30226
2026-09-22 16:47:09 -04:00