Commit Graph
20313 Commits
Author SHA1 Message Date
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
Timothy Jaeryang Baek cd1aadd751 refac 2026-11-05 19:24:41 +09:00
Classic298 ac8bc4552a fix: Milvus knowledge base uploads process each file again and store its chunks twice (#33745)
On Milvus, adding a file to a knowledge base made Open WebUI process the file again, even though it had already been processed on upload. The chunks already stored for the file were also duplicated, so chats using that file got repeated content. The check for existing chunks now works on Milvus, so the file is processed once for the knowledge base and nothing is duplicated.

Fixes #33744
2026-11-05 19:09:40 +09:00
Timothy Jaeryang Baek 3b1a953836 refac 2026-11-05 19:09:22 +09:00
Timothy Jaeryang Baek 6b69a5b685 refac 2026-11-05 18:57:32 +09:00
Classic298 5beeb0cc29 fix: every chat message fails on a Redis Cluster deployment (#33766)
With REDIS_CLUSTER enabled, every chat message failed with an error. The Redis connection recently added for terminal connections was used before it had read the cluster's layout. That connection now reads the layout first, so chats work again on a Redis Cluster. Plain Redis and Sentinel setups behave as before.

Fixes #33765
2026-11-05 18:40:11 +09:00
Timothy Jaeryang Baek 393dd6689c refac 2026-11-05 17:32:32 +09:00
Timothy Jaeryang Baek 6b826c7585 refac 2026-11-05 16:54:50 +09:00
Timothy Jaeryang Baek 13e0fd2c5f refac 2026-11-05 16:37:39 +09:00
Timothy Jaeryang Baek 8c53aa5875 refac 2026-11-05 16:30:34 +09:00
Timothy Jaeryang Baek f61f50158e refac 2026-11-05 16:24:29 +09:00
Timothy Jaeryang Baek 22947a357a refac 2026-11-05 16:11:38 +09:00
Timothy Jaeryang Baek e236677e93 refac 2026-11-05 16:00:05 +09:00
Timothy Jaeryang Baek 6263394835 refac 2026-11-05 14:42:13 +09:00
Timothy Jaeryang Baek fca859cef3 refac 2026-11-05 14:14:23 +09:00
Timothy Jaeryang Baek eb4ff07b29 refac 2026-11-05 14:05:29 +09:00
Timothy Jaeryang Baek d77709357b refac 2026-11-05 13:59:38 +09:00
Timothy Jaeryang Baek c16b77ba07 refac 2026-11-05 13:57:52 +09:00
Timothy Jaeryang Baek 2a6adef639 refac 2026-11-05 13:43:20 +09:00
Timothy Jaeryang Baek be9a4f81df refac 2026-11-05 13:38:41 +09:00
Timothy Jaeryang Baek 10ae22ec69 refac 2026-11-05 13:35:07 +09:00
Timothy Jaeryang Baek 76b1ce4f14 refac 2026-11-05 13:26:17 +09:00
Timothy Jaeryang Baek fd7b5cabc0 refac 2026-11-05 13:21:39 +09:00
Timothy Jaeryang Baek cc58d4ec6e refac 2026-11-05 12:49:29 +09:00
Timothy Jaeryang Baek a773323e4a refac 2026-11-05 12:32:27 +09:00
Timothy Jaeryang Baek 457f2edd2d refac 2026-11-05 12:29:50 +09:00
Timothy Jaeryang Baek 69189cbaad refac 2026-11-05 12:01:25 +09:00
Timothy Jaeryang Baek 99f4541e3b refac 2026-11-05 12:00:17 +09:00
Timothy Jaeryang Baek 6cd0691eb7 refac 2026-11-05 11:45:44 +09:00
Timothy Jaeryang Baek 404d27a36e refac 2026-11-05 11:41:25 +09:00
Timothy Jaeryang Baek c69a4ed9fb refac 2026-11-05 09:23:26 +09:00
Classic298 9f25b1b1ab fix: automation tool examples teach models a schedule format that gets rejected (#33732)
The built-in tool for creating automations showed its example schedules with a literal backslash-n between the start time and the rule. Models copied that, and the schedule was rejected with an "Invalid RRULE" error, so they retried until they happened to write it differently. The examples now show a real line break, which is what the schedule parser expects.

Fixes #33730
2026-11-05 07:19:53 +09:00
Classic298 0320420550 fix: raw translation keys shown for six toggles in Admin Interface visible controls (#33734)
Six toggles under Admin Settings > Interface > Visible controls (Selected Tools, Skills, Filters, Web Search, Image Generation and Code Interpreter) showed their raw translation key instead of a name. The English labels were missing, so they now display normally.
2026-11-05 07:19:39 +09:00
Classic298andxfscott a7e51207c0 fix: audit log records API keys and tokens in plain text (#33746)
With request auditing turned on, only fields whose name ends in "password" were masked, so API keys and tokens saved in the admin settings (OpenAI and Ollama connections, Jupyter, web search and others) were written to the audit log as they were. A secret cut off by the body size limit also had its beginning logged. Fields whose name ends in password, secret, token, key or authorization are now masked, including lists of keys and values cut off by the size limit.

Co-authored-by: xfscott <229475069+xfscott@users.noreply.github.com>
2026-11-05 07:19:24 +09:00
Classic298 051c357f98 refac: limit nesting depth of model settings (#33759)
Model meta and params are now rejected when they are nested too deeply.
2026-11-05 07:19:09 +09:00
Classic298 017d0c3271 perf: channels open faster by loading messages alongside the channel details (#33688)
Opening a channel waited for the channel details to arrive before it even asked for the messages, so the wait was the two requests added together. Both requests now start at the same time. A channel that fails to load still sends you back to the home page and shows no messages.
2026-11-05 06:50:28 +09:00
Classic298 9db6251498 perf: large chats open about twice as fast (#33665)
Before a chat is stored or returned, the server checks all of its text for null bytes and invalid characters that the database cannot store. That check converted the whole chat to JSON text and scanned it, which on chats with long histories or pasted images took as long as reading the chat from the database, and blocked every other request on that server process meanwhile. The check now inspects each text value in place and skips the slow scan for plain ASCII values such as base64 images. It flags exactly the same chats as before, except that chats containing the six characters \u0000 as ordinary text (common in code) no longer go through a needless cleanup copy on every load.

Measured on SQLite, best of 5 runs, sizes are the stored chat JSON:

| Chat | Check before | Check after | Opening the chat before | Opening the chat after |
| --- | --- | --- | --- | --- |
| 7 MB, text only | 13 ms | 2 ms | 31 ms | 20 ms |
| 49 MB, with images | 107 ms | 4 ms | 211 ms | 108 ms |
| 209 MB, with images | 456 ms | 15 ms | 890 ms | 444 ms |
2026-11-05 06:44:48 +09:00