Commit Graph
4151 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek d3913657df refac 2026-10-06 21:19:36 +04:00
Timothy Jaeryang Baek c4e885bf1e refac 2026-10-06 17:54:13 +04:00
Timothy Jaeryang Baek 30f3f6a8ff refac 2026-10-05 23:57:03 +04:00
Timothy Jaeryang Baek 4424ae6acc refac 2026-10-05 17:50:28 +04:00
Timothy Jaeryang Baek 550332fa1b refac 2026-10-05 17:24:02 +04:00
Timothy Jaeryang Baek bda14fe416 refac 2026-10-05 16:11:15 +04:00
Timothy Jaeryang Baek 398c37c73c refac 2026-10-05 14:35:15 +04:00
Timothy Jaeryang Baek 8f4f29d834 refac 2026-10-05 13:01:41 +04:00
Timothy Jaeryang Baek a3a2e42ee0 refac 2026-10-05 12:53:56 +04:00
Timothy Jaeryang Baek 5bb1c47080 refac 2026-10-05 12:49:11 +04:00
Timothy Jaeryang Baek 24e30d1cbd refac 2026-10-05 12:17:25 +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
Timothy Jaeryang Baek 53f47b3dc7 refac 2026-10-05 11:19:23 +04:00
Classic298 878c90eaaa fix: terminal and file browser jump back to the top folder after every command (#31878)
The terminal runs commands in whatever folder the file browser panel is showing. When the file browser is limited to a top folder (OPEN_TERMINAL_FILE_BROWSER_ROOT, set to the home folder by default), every time the agent ran a command in the terminal the panel jumped back to that top folder and closed the open file, so the next command ran there too. Now the panel stays in the folder you picked and just reloads its contents after each command, keeping the open file in view.

Fixes #30051
2026-10-05 11:15:42 +04:00
G30 7dd9fc7076 fix: stop the rest of the reply when interrupting Voice mode (#31876) (#31877) 2026-10-05 11:13:38 +04:00
Timothy Jaeryang Baek fb741ebcd2 refac 2026-10-05 10:56:06 +04:00
Timothy Jaeryang Baek 7e7aeb48cd refac 2026-10-05 10:46:15 +04:00
Timothy Jaeryang Baek e608e89b9e refac 2026-10-05 10:03:01 +04:00
Timothy Jaeryang Baek 51f0e01258 refac 2026-10-05 09:24:43 +04:00
Timothy Jaeryang Baek 89ed348afd refac 2026-10-05 06:56:31 +04:00
Classic298 808b90c031 fix: line breaks in chat messages disappear after reloading the page (#31869)
Lines separated by a single newline show on separate lines while you chat, but after reloading the page or opening a chat by its URL they run together into one line, and on shared chat links they always did. The single-newline line break setting was only switched on once the chat input had loaded, so any message shown before that rendered without it. It is now on from the start, so messages look the same after a reload, from a URL and on shared links as they do while chatting.
2026-10-05 06:45:51 +04:00
Classic298 1e834c09e2 fix: Web API dictation stops while you are still talking (#31891)
With the Web API speech-to-text engine, the two-second silence timer only restarted when the browser finished a phrase. If you paused briefly and then kept talking for more than two seconds, dictation stopped mid-sentence. The timer now restarts whenever the browser hears speech, so dictation only stops after two seconds of silence.

Fixes #19727
2026-10-05 06:45:11 +04:00
G30andRaulMermans de9234a2b8 fix: keep edited replies searchable by their new text (#31844)
Saving an edited reply stored the new structured output but set the message's plain content to an empty string. Chat search only matches message content, so the chat could no longer be found by the edited text, nor by the text it replaced.

editMessage now fills content from the edited output with the existing getOutputText, the same text the reply is shown with. Saving as a copy does the same. Output still takes precedence for rendering and for the next request to the model, so only the searchable copy changes.

Fixes #31471

Co-authored-by: RaulMermans <214883465+RaulMermans@users.noreply.github.com>
2026-10-05 06:43:49 +04:00
G30 41ca360ccf fix: stop Ctrl+Shift+Enter from sending the message when Ctrl+Enter to Send is on (#31864) 2026-10-05 06:43:14 +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
Classic298 8b4d3ac527 fix: chat freezes when reopened after tool calls with some Responses API providers (#31838)
Some providers, such as OpenVINO Model Server, number their output items from zero again in every response. When a model wrote text, called a tool and then answered, the saved message held two items with the same id, and opening that chat later locked up the browser tab. Repeated ids are now renamed when the chat is shown, so these chats open normally, including ones saved before this fix. Providers that already send unique ids render exactly as before.

Fixes #31837
2026-10-02 08:50:44 +04:00
G30 6eb0a0b77e fix: stop deleting the model when an Ollama download is cancelled (#31824) 2026-10-01 12:26:13 -05: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
G30 51da3eefc9 fix: set up the Kokoro voice when Voice Mode opens, however it was opened (#31829) 2026-10-01 20:24:06 +04:00
G30 99f1eaa3fa fix: keep dollar signs intact when a code block is saved (#31386) 2026-10-01 08:14:09 +04:00
Timothy Jaeryang Baek 8a4547104c refac 2026-10-01 08:13:45 +04:00
G30 be35c8f658 fix: save list user valves in Chat Controls the way the valves dialog does (#31300) 2026-10-01 08:07:50 +04:00
Timothy Jaeryang Baek f50f9e6252 refac 2026-10-01 03:31:20 +04:00
G30 e797a44806 fix: don't bring up the keyboard when menus open or close on mobile (#31657) 2026-10-01 03:09:14 +04:00
Classic298 6c322941d1 fix: iPhone HEIC photos are rejected by vision models (#31649)
iPhone photos were only converted to JPEG when the browser reported their type as exactly image/heic. Firefox reports image/heif and some browsers report no type at all, so those photos were uploaded as HEIC and vision models failed with an error. When conversion did run, the JPEG was still uploaded with the HEIC file name and type, so the model was told it was HEIC anyway. HEIC and HEIF photos are now converted whatever type the browser reports and are uploaded as a .jpg with the JPEG type, in chats, channels and notes.

Fixes #28411
2026-09-30 21:03:07 +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 b857eb8267 fix: find read-only shared notes when searching the chat's note picker (#30968) 2026-09-30 20:03:01 +04:00
Classic298 c7caa1421d fix: tool HTML embeds vanish when the HTML contains entities like &quot; (#31390)
Tools that return inline HTML showed no embed at all when the HTML contained an entity such as `&quot;` or `&#34;`, and HTML containing `&amp;` or `&lt;` showed up with those turned into real characters. The chat view unescaped HTML entities in a tool's embeds, arguments and file links, which is only right for chats saved by older versions, so on current chats it changed the tool's own HTML before displaying it. Embeds, tool arguments and file links now show exactly what the tool returned, and older chats render as before.

Fixes #28085
2026-09-30 19:50:11 +04:00
Classic298 32e532b459 fix: copy last code block shortcut copies the Artifacts pane instead of the last code block (#31613)
With the Artifacts pane open, the Copy Last Code Block shortcut put the pane's full HTML document on the clipboard instead of the last code block in the chat. The pane opens on its own whenever a reply contains an HTML block, so the shortcut was wrong in every such chat.

The shortcut clicks the last Copy button of chat code blocks on the page, and the Artifacts Copy button carried the same marker class. The pane renders after the messages, so it always won. The marker class is now removed from the Artifacts button. It had no styling attached, so the button looks and works as before.

Fixes #31476
2026-09-30 19:43:24 +04:00
G30 5338aeca89 fix: render tilde-fenced code blocks as code blocks (#31543) 2026-09-30 19:25:01 +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
Classic298 8667dd7121 fix: actions in a model's menu in the model selector do nothing (#31503)
Picking Edit, Keep in Sidebar, Copy Link or Delete from the menu next to a model in the model selector did nothing: the selector closed and the action never ran. These actions work again. Edit and Delete now also close the selector, so the first click in the settings window or the delete confirmation that opens is not lost.
2026-09-28 06:16:07 +04:00
G30 c8a3e10e13 fix: let Enter through when the message box's suggestion list has nothing to show (#31506) 2026-09-28 06:15:56 +04:00
Timothy Jaeryang Baek 82b5181372 refac 2026-09-28 06:15:24 +04:00
Classic298 ef67cc3fac fix: first click in a dialog opened from a menu does nothing (#31496)
The chat header menu, the folder menu, the note menu, the knowledge Add Content and folder row menus and the Actions menus in Models, Archived Chats and Personalization stayed open behind the dialog they opened, so the first click inside that dialog only closed the menu. These menus now close when an item is picked, like the sidebar chat menu. The note menu's Formatting switch, the chat tags and submenus such as Download still keep the menu open.

Fixes #31493
2026-09-28 01:52:26 +04:00
Classic298 b6f9679985 refac: only open web, mail, phone and relative file links (#31491)
File attachment links and the file links in code execution results now go through the same link check as links in chat messages, so only web, mail, phone and relative links are opened.
2026-09-28 01:52:15 +04:00
Timothy Jaeryang Baek 19957bc19b refac 2026-09-27 23:23:24 +04:00
Timothy Jaeryang Baek 332237662f refac 2026-09-27 23:18:46 +04:00
G30 efe63bd34a fix: clamp the artifacts pane's version when an artifact is removed (#30435) 2026-09-27 23:15:24 +04:00