open-webui/src/lib/components
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
..
admin refac 2026-09-21 11:24:40 -04:00
app refac 2026-09-03 20:22:32 -04:00
automations refac 2026-09-09 19:16:16 -04:00
calendar fix: let a calendar event's repeat, description and location be cleared again (#30204) 2026-09-19 17:17:43 -04:00
channel fix: drop every local reference to a channel message that was deleted (#30314) 2026-09-21 11:32:14 -04:00
chat fix: keep an open chat's tools when clicking a folder name (#30376) 2026-09-22 16:47:09 -04:00
common refac: keep rendered diagrams and SVG on same-origin resources (#30271) 2026-09-21 15:15:28 -04:00
icons fix: left-edge clipping of the terminal cloud icon and account profile avatar (#27691) 2026-08-10 23:28:17 -06:00
layout fix: keep the background image chosen while creating a folder from the sidebar (#30218) 2026-09-21 10:36:49 -04:00
notes fix: hide Insert into note on a note the viewer may only read (#30223) 2026-09-21 08:32:17 -04:00
playground refac 2026-09-03 20:22:32 -04:00
workspace fix: apply the knowledge File content filter on the first click (#30211) 2026-09-21 11:30:42 -04:00
AddConnectionModal.svelte fix: keep the select chevron clear of the text in shrink-to-fit selects (#29866) 2026-09-09 16:22:00 -04:00
AddFilesPlaceholder.svelte refac 2026-07-14 04:15:20 -04:00
AddTerminalServerModal.svelte refac 2026-09-15 22:51:15 -04:00
AddToolServerModal.svelte refac 2026-09-18 11:49:56 -04:00
AutomationModal.svelte refac 2026-08-13 16:42:10 -06:00
ChangelogModal.svelte fix: save only the changed key when pinning, reordering or picking a default outside the Settings modal (#30183) 2026-09-19 17:34:02 -04:00
ImportModal.svelte refac 2026-07-15 04:25:51 -04:00
NotificationToast.svelte refac 2026-09-03 20:22:32 -04:00
OnBoarding.svelte refac 2026-08-10 18:52:18 -06:00