open-webui/src
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
..
lib fix: keep an open chat's tools when clicking a folder name (#30376) 2026-09-22 16:47:09 -04:00
routes fix: emit the resolved file path in terminal file events (#30282) 2026-09-21 00:31:14 -04:00
app.css refac 2026-09-10 19:05:36 -04:00
app.d.ts chat feature added 2023-10-08 15:38:42 -07:00
app.html refac 2026-07-27 19:39:36 -04:00
tailwind.css chore: format 2026-08-31 10:48:28 -04:00