Commit Graph
20349 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 48c19d11d3 refac 2026-11-06 12:42:00 +09:00
Timothy Jaeryang Baek 0f3bd0a7ea refac 2026-11-06 12:40:49 +09:00
Timothy Jaeryang Baek 768a83ae78 refac 2026-11-06 11:59:05 +09:00
Timothy Jaeryang Baek 6e8a6c4467 refac 2026-11-06 11:34:51 +09:00
Timothy Jaeryang Baek 9eb3baa8e3 refac 2026-11-06 11:18:36 +09:00
Timothy Jaeryang Baek bd6fc15bee refac 2026-11-06 11:12:04 +09:00
Timothy Jaeryang Baek 9598411db2 refac 2026-11-06 11:11:01 +09:00
Timothy Jaeryang Baek 0572cf7854 refac 2026-11-06 11:07:46 +09:00
Timothy Jaeryang Baek 9f897325a1 refac 2026-11-06 11:06:12 +09:00
Timothy Jaeryang Baek 1cda56f6a3 refac 2026-11-06 11:01:42 +09:00
Timothy Jaeryang Baek c81aca931d refac 2026-11-06 10:52:18 +09:00
Timothy Jaeryang Baek d43759c2ca refac 2026-11-06 10:49:20 +09:00
Timothy Jaeryang Baek 8e2ba2937e refac 2026-11-06 10:38:09 +09:00
Timothy Jaeryang Baek c5f24f5887 refac 2026-11-06 10:30:05 +09:00
Timothy Jaeryang Baek 98f7a6146e refac 2026-11-06 10:27:47 +09:00
Timothy Jaeryang Baek 836fcdc059 refac 2026-11-06 09:18:44 +09:00
Timothy Jaeryang Baek 7f3e0d018e refac 2026-11-06 09:02:24 +09:00
Timothy Jaeryang Baek 97f71f6ebb refac 2026-11-06 08:53:00 +09:00
Timothy Jaeryang Baek d878373728 refac 2026-11-06 08:41:30 +09:00
Timothy Jaeryang Baek 3e6f8b7f48 refac 2026-11-06 08:28:49 +09:00
Classic298 b8b8ba9586 fix: Webhooks window resets whenever a message arrives in the channel (#33776)
With a channel open and its Webhooks window open from Edit Channel, every new message in that channel sent the window back to the webhook list, including a post from the webhook itself. The selected webhook closed and a changed name or image that was not saved yet was lost. The window now resets only when it opens, so new messages no longer interrupt an edit.

Fixes #33775
2026-11-06 08:20:18 +09:00
Classic298 c384d8e514 fix: split tool calls leave an extra unfinished tool call in the chat (#33779)
When a model sends several tool calls glued into one (for example GPT-5.4 putting two JSON argument sets in a single call), Open WebUI ran each part but also kept the original call in the message with the broken combined arguments and no result. That showed up as an extra tool call that never gets a result, and it was dropped silently when the chat was sent back to the model. The first part now reuses the original call, so every tool call in the message has exactly one result.

Fixes #33778
2026-11-06 08:19:36 +09:00
Timothy Jaeryang Baek 456849a4f1 refac 2026-11-06 08:19:19 +09:00
Classic298 17579c522d fix: renaming a file or folder in the Open Terminal file browser shows an error (#33786)
Pressing Enter to confirm a rename moved the entry correctly, but the input losing focus right after triggered a second rename of the old path, which no longer exists, and that showed an error toast. The rename is now submitted only once.
2026-11-06 08:19:08 +09:00
Classic298 feaed8c9e5 fix: default tools set in Model Defaults are not preselected for new models (#33787)
When an admin sets default tools in the Model Defaults settings, creating a new model in the workspace still starts with no tools selected. The new model form now preselects those default tools.
2026-11-06 08:06:18 +09:00
Classic298 18f199b802 fix: side chats don't start with the model's default tools and web search (#33788)
Opening a side chat next to a chat started with a model that has default tools, skills, filters, web search, image generation or code interpreter turned on gave an empty side chat with all of them off. A new side chat now starts with the same defaults the model has in a normal chat, and picks them up again when you switch its model before the first message. Side chats that were already started are left as they are.
2026-11-06 08:06:04 +09:00
Classic298 2171f4f11e fix: banners missing on the new chat page in tabbed view (#33789)
When the terminal tabs split the screen, the chat on the left hid its whole top bar on the new chat page, and the admin banners and license notices went with it. The banners are now shown there again, while the rest of the top bar stays hidden as before.
2026-11-06 08:05:50 +09:00
Classic298 2fb2e9ea27 fix: automatic SSO sign-in fails with a state mismatch after the session expires (#33791)
With OAUTH_AUTO_REDIRECT on, an expired or invalid session sent the browser to the identity provider while the sign-out request was still running. When that request finished it wiped the login state, so the callback failed and the user landed on the sign-in page with an error. The sign-out now completes before the redirect, so the user is signed back in without an error.

Fixes #33783
2026-11-06 08:05:32 +09:00
G30 8ebc96d3d8 fix(ui): remove the blur behind the page top bars (#33799) 2026-11-06 08:04:54 +09:00
Classic298 dd42f4e913 refac: skip background work for accounts that were deactivated meanwhile (#33801)
Follow-up generation after a response and replies to channel mentions are now skipped when the account that triggered them has been deactivated in the meantime.
2026-11-06 07:53:32 +09:00
G30 88cf7f209c fix: the feedback model filter stays after deleting the last feedback (#33794) 2026-11-06 07:50:04 +09:00
Classic298 a715f569d1 refac: apply the Notes switch to live note editing (#33797)
Live note editing now follows the instance's Notes switch and the Notes permission, like the rest of the Notes feature.
2026-11-06 06:59:08 +09:00
Classic298 c165ee14f0 perf: opening a chat no longer loads the whole conversation to mark it read (#33666)
Every time a chat is opened, the server marks it as read, and to do so it loaded and parsed the full chat, images included, just to save the last-read time. Marking a chat as unread and removing a tag from a chat did the same. These now touch only the few chat fields they change, which makes them 4 to 6 times faster on large chats.

Measured on SQLite, best of 7 runs, sizes are the chat as stored in the database:

| Chat | Action | Before | After |
| --- | --- | --- | --- |
| 7 MB, text only | open (mark read) | 19.8 ms | 3.5 ms |
| 7 MB, text only | mark as unread | 20.7 ms | 3.5 ms |
| 7 MB, text only | remove tag | 21.2 ms | 3.4 ms |
| 49 MB, with images | open (mark read) | 122.2 ms | 30.0 ms |
| 49 MB, with images | mark as unread | 124.2 ms | 29.1 ms |
| 49 MB, with images | remove tag | 120.5 ms | 28.6 ms |
2026-11-05 22:38:25 +09:00
Timothy Jaeryang Baek 7efb494a2b refac 2026-11-05 22:38:02 +09:00
Timothy Jaeryang Baek 0c21d4ed84 refac 2026-11-05 22:35:59 +09:00
Classic298 f59552efff perf: stop resending the whole reply on every reasoning chunk with OpenRouter-style providers (#33698)
Providers such as OpenRouter attach reasoning details to every reasoning chunk, and each of those chunks made Open WebUI send the entire reply so far to the browser and, with Redis, rewrite the copy kept for page reloads. The browser never shows these details, so a long reasoning reply moved tens of megabytes for a few kilobytes of text. Those chunks now stream like any other reasoning text, and the details are still saved with the reply and still sent back to the provider on the next request.

Measured against a simulated OpenRouter-style provider streaming 1,500 reasoning chunks:

| | before | after |
|---|---|---|
| Data sent to the browser | 73.6 MB | 0.73 MB |
| Redis writes for the reload copy | 1,504 | 19 |
2026-11-05 22:30:39 +09:00
Classic298 b6d861645b fix: chat stops working with Ollama after a tool call with broken arguments (#33697)
A tool call whose arguments were cut off, rejected before it ran or sent empty made every later message with an Ollama model fail, so the chat stayed stuck until that message was edited or removed. Such calls are now sent to Ollama with empty arguments and the conversation continues.

Fixes #33671
2026-11-05 22:27:27 +09:00
Timothy Jaeryang Baek 75f8ae5584 refac 2026-11-05 22:25:44 +09:00
Timothy Jaeryang Baek 4615d30a61 refac 2026-11-05 22:16:14 +09:00
Timothy Jaeryang Baek 0413768244 refac 2026-11-05 22:12:49 +09:00
Timothy Jaeryang Baek 8366e28725 refac 2026-11-05 21:59:46 +09:00
Timothy Jaeryang Baek 1632222f39 refac 2026-11-05 21:50:59 +09:00
Classic298 e9cb194f46 fix: large spreadsheet upload takes minutes and stalls the server (#33770)
Uploading a big, sparsely filled .xlsx sent the document parser into a very slow table-detection step; a 28,000-row sheet took around 13 minutes, long enough for health checks to fail and pods to be restarted. Spreadsheets are now read as a whole sheet without that step, which took a 2,500-row sheet from 17.6 s to about 1 s with identical text. Sheets that hold several separate tables on one sheet now come out as one block instead of one block per table.

Fixes #33768
2026-11-05 21:47:16 +09:00
G30 bc14c37670 fix(a11y): sorting or paging a workspace or notes list keeps keyboard focus (#33743) 2026-11-05 21:45:16 +09:00
Timothy Jaeryang Baek 72398bbc7a refac 2026-11-05 21:44:51 +09:00
Timothy Jaeryang Baek f0d4d5cd26 refac 2026-11-05 20:56:31 +09:00
Timothy Jaeryang Baek bb89844517 refac 2026-11-05 20:47:26 +09:00
Timothy Jaeryang Baek f789a07420 refac 2026-11-05 20:33:47 +09:00
Classic298 870107b34b feat: set default tools for all models in admin Model Defaults (#33749)
Workspace tools could only be enabled per model, so every model had to be edited to get a tool auto-enabled in new chats. The Model Defaults section in the admin Models settings now has a Tools picker. Models without their own tool list start new chats with those tools enabled; models with their own list keep it.
2026-11-05 20:00:48 +09:00
Timothy Jaeryang Baek 0349240ce9 refac 2026-11-05 19:31:22 +09:00