Commit Graph
20014 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek d6610adaa9 refac 2026-10-29 16:14:29 +09:00
G30andGitHub 311be17579 fix(a11y): Escape then Tab leaves the Compare revision editors instead of closing the window (#33357) 2026-10-29 15:16:35 +09:00
G30andGitHub e56bd11957 fix(a11y): opening a filter list with the mouse also moves focus to its options (#33352) 2026-10-29 15:08:12 +09:00
G30andGitHub 6e569978d9 fix(a11y): the model picker's highlighted row follows Tab, so only one row is outlined (#33367) 2026-10-29 14:57:04 +09:00
Timothy Jaeryang Baek b8391e550e refac 2026-10-29 14:55:14 +09:00
G30andGitHub 7615408182 fix(a11y): every field in the calendar event window has a name (#33361) 2026-10-29 14:54:10 +09:00
G30andGitHub 1b47858b66 fix(a11y): Tab from a note's title reaches the Generate title button (#33354) 2026-10-29 14:50:50 +09:00
G30andGitHub 1de86d8d16 fix(a11y): menu items, submenu items included, move with the arrow keys, Home and End (#33359) 2026-10-29 14:50:06 +09:00
G30andGitHub 9f696f3e63 fix(a11y): focus outlines on the tab rows are no longer cut off at the corners (#33363) 2026-10-29 14:49:42 +09:00
Timothy Jaeryang Baek 3b8205505b refac 2026-10-29 08:58:48 +09:00
G30andGitHub 893dbc9bd8 fix: a cleared Embedding Batch Size no longer breaks file processing (#33288) 2026-10-29 08:53:19 +09:00
Timothy Jaeryang Baek 839759cb17 refac 2026-10-29 08:47:08 +09:00
Classic298andGitHub 226dca18cd fix: member's chat loses its pin when the shared folder owner moves it (#33342)
When the owner of a shared folder moved a chat a member created to another folder inside the shared folder, the chat lost the member's pin and dropped out of their Pinned list. The owner's move now keeps the member's pin, just as it already keeps the chat's unread status for them. Moving your own chat into a folder still unpins it, as before, so it shows up in that folder.

Fixes #33341
2026-10-29 08:05:16 +09:00
Timothy Jaeryang Baek b87e9358e5 refac 2026-10-29 08:04:54 +09:00
Timothy Jaeryang Baek 948432b432 refac 2026-10-29 07:17:12 +09:00
Timothy Jaeryang Baek 7b4d4b51f6 refac 2026-10-29 07:09:04 +09:00
G30andGitHub f517e528d2 fix: folder owners can rename a chat from the menu next to its title (#33339) 2026-10-29 06:50:15 +09:00
Timothy Jaeryang Baek fdaa240d44 refac 2026-10-29 06:49:47 +09:00
Timothy Jaeryang Baek 360d81dfe8 refac 2026-10-29 06:32:47 +09:00
Classic298andGitHub 0a4be809c4 fix: readers see a remove button on a shared note's files (#33281)
Since a recent dev change, a reader opening a shared note sees the remove button on every file in the note, although clicking it does nothing. The editor was created editable and only switched to read-only afterwards, so the files were drawn as if the reader could edit. It now starts read-only for readers, and their files show without the button.

Fixes #33279
2026-10-29 06:30:02 +09:00
Timothy Jaeryang Baek 58536b6503 refac 2026-10-29 05:27:31 +09:00
Timothy Jaeryang Baek cb83239a8a refac 2026-10-29 05:26:40 +09:00
Classic298andGitHub 517f824eb4 perf: kb_exec reads the full text of the whole knowledge base on every call (#33332)
Every kb_exec command (ls, cat, grep and the rest) and the knowledge base sync check listed the knowledge base by loading each file's full extracted text, even though only names, folders, sizes and hashes were used. On large knowledge bases every call took seconds, held hundreds of MB of memory and blocked the server for other users while it ran. The listing now reads only those fields, and file text is still loaded per file when a command needs it, as before. Output is byte-identical.

5,005 files (5,000 of 50 KB in 50 folders plus 5 of 10 MB, 292 MB of text), median of 3 calls, Postgres 17:

| kb_exec command | before | after | peak memory before | after |
|---|---|---|---|---|
| `ls` | 2.34 s | 0.20 s | 874 MB | 243 MB |
| `ls folder_000/` | 2.15 s | 0.20 s | 873 MB | 243 MB |
| `cat folder_000/doc_000_001.md` | 1.07 s | 0.17 s | 855 MB | 243 MB |
| `grep -n needle folder_000/` | 1.24 s | 0.31 s | 871 MB | 243 MB |
| `grep -c needle large_0.md` | 1.19 s | 0.22 s | 874 MB | 306 MB |

On SQLite the same calls drop from 0.50-1.03 s to 0.16-0.29 s.

Fixes #33322
2026-10-29 05:26:02 +09:00
Classic298andGitHub f1f0a194ae feat: choose the Mistral OCR model and pass extra OCR request options (#33333)
Mistral OCR always sent the mistral-ocr-latest model with no other request options, so admins could not stay on an older OCR model or send the model name a Mistral-compatible endpoint such as Azure AI Foundry expects. A new Parameters field under Admin Panel > Settings > Documents, shown when Mistral OCR is the extraction engine and also available as the MISTRAL_OCR_PARAMS environment variable, takes a JSON object that is merged into every OCR request: {"model": "mistral-ocr-2512"} replaces the default model, and any other field is sent to the OCR endpoint as given. It works the same with and without the Use Base64 switch, and when it is left empty the request is unchanged.

Closes #19707
2026-10-29 05:25:53 +09:00
Classic298andGitHub cfe745b00c feat: show ComfyUI images saved by the Save Animated WEBP and Save Animated PNG nodes (#33325)
A ComfyUI workflow that ends in the core Save Animated WEBP or Save Animated PNG node finished on the ComfyUI side, but nothing showed up in the chat, because Open WebUI only picked up images from the Save Image, Save Image (Advanced) and Preview Image nodes. Images from both animated nodes now show up in the chat too, as the original animated file, for image generation and image editing.

Closes #33013
2026-10-29 05:24:46 +09:00
Classic298andGitHub 40a9fba81f feat: moving a chat into or out of a folder keeps its last activity date (#33327)
Filing an old chat into a folder made it look recently active: it jumped to the top of the sidebar under Today, and a batch of old chats sorted into folders ended up ordered by when each was moved. Moving a chat into or out of a folder now keeps its last activity date, so it is sorted and grouped by when it was really last active. Moving your own chat still clears its unread dot as before, and when the owner of a shared folder reorganizes your chat within it, the chat no longer turns unread for you.

Closes #30362
2026-10-29 05:21:30 +09:00
Classic298andGitHub 76b7be67fc feat: let admins exclude routes like health checks from OpenTelemetry metrics (#33329)
With OpenTelemetry metrics on, every request is counted in the HTTP request and duration metrics, so Kubernetes liveness and readiness probes on `/health` and `/health/db` fill the time series database and dashboards with noise. These metrics now skip any request whose URL matches `OTEL_PYTHON_FASTAPI_EXCLUDED_URLS` (or `OTEL_PYTHON_EXCLUDED_URLS` as a fallback), the standard OpenTelemetry variable that traces already honour. It takes a comma-separated list of regular expressions such as `/health,/_app/immutable/.*`, each matched anywhere in the URL, so `/health` also covers `/health/db`. One pattern now drops the same requests from traces and metrics alike. Nothing changes when the variable is unset.

Closes #31609
2026-10-29 05:21:06 +09:00
Classic298andGitHub 34ef99dbfb feat: allow negative values for the Relevance Threshold setting (#33330)
The Relevance Threshold field in the Documents settings refused negative values, so admins whose reranker returns raw scores (which can go below zero) could not set a useful threshold, and a negative RAG_RELEVANCE_THRESHOLD made the whole Documents settings page impossible to save while hybrid search was on. The server already stores and applies negative thresholds; only the field blocked them. The field now takes negative values in the same 0.01 steps as before, its help text says they are valid for rerankers that return raw scores outside the 0 to 1 range, and the hover hint asking for a value between 0 and 1 is gone. Nothing changes for 0 and above, and 0 still means no threshold.

Closes #29888
2026-10-29 05:20:50 +09:00
Classic298andGitHub e49ff5df64 feat: notify automation owners when a run fails (#33331)
When a scheduled automation failed (for example because its model was deleted), the owner could only see it as an error in the run history, so they found out much later when the results stopped showing up. Automation run failed is now one of the automatic events users can pick for their notification targets under Settings > Notifications, and every failed run, scheduled or started by hand, sends the automation name and the error to those targets. In Admin Settings > General > Events, webhooks set to Specific users or groups now receive these failures when the owner is among those users or groups, and webhooks set to System events only stop receiving them.

Closes #33228
2026-10-29 05:20:40 +09:00
G30andGitHub 77398eba31 fix: a new notification target becomes the default after the last one was removed (#33284) 2026-10-29 02:58:45 +09:00
Classic298andGitHub fcc9284139 fix: labels in workspace search, Skills and the terminal file browser stay English (#33308)
The workspace search showed its result labels such as "Personal chat" and "Personal note" in English for every interface language, and some of its own labels never reached the translation files. Several labels, prompts and banners in the Skills list, the skill editor and the terminal file browser were also hard-coded in English. They now follow the interface language. Folder and channel names in search results stay as the user typed them, except a folder named exactly like one of the five fixed labels, which shows translated as well, since the search results do not tell the two apart.

Fixes #33304
Fixes #33305
2026-10-29 02:58:23 +09:00
G30andGitHub f58fdf9b95 fix: Playground Controls reach the model (#33286) 2026-10-29 02:57:47 +09:00
G30andGitHub a8e8e7e792 fix: a calendar event that ends after midnight keeps its end time (#33290) 2026-10-29 02:23:15 +09:00
G30andGitHub 0ac55c8e72 fix: a removed webhook carried over from before v0.11 stays removed (#33295) 2026-10-29 02:22:02 +09:00
ff53208e86 i18n: make Indonesian terminology consistent and translate a missed string (#33303)
Use "berkas" instead of "File" (108 existing uses vs 14), "Tambah" instead of
"Menambahkan" for the Add Files / Add Memory buttons (matching the other
"Add ..." actions), and "Pengaturan" instead of "Setelan". Also translate
"Enter certificate path", which was still in English.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 02:21:25 +09:00
Timothy Jaeryang Baek 7f03b6e778 refac 2026-10-28 10:25:04 +09:00
Classic298andGitHub 2c64ab5487 fix: chat stops with no answer when an MCP server request fails mid-chat (#33272)
When an MCP tool server could not be reached for a tool call (server restarted, connection reset by a proxy or load balancer, a request timing out), the whole chat was cancelled as if the user had pressed stop, and the log only said "Task was cancelled!". Now only that tool call fails, the model gets the connection error as the tool result and the reply finishes, and the underlying connection error is logged. The MCP SDK cancels whatever task opened the session when a single request fails, so each MCP session now runs in its own task instead of the chat's.

Fixes #33268
2026-10-28 10:19:33 +09:00
Classic298andGitHub 3febf25d84 fix: message ignores the Web Search toggle after switching models (#33275)
After changing the model or adding a second one to compare, the Web Search toggle showed the new default but the next message still went out with the previous model's setting. A model without Web Search as a default feature could search, and one with it did not. The message now follows what the toggle shows.

Fixes #33265
2026-10-28 10:19:19 +09:00
Timothy Jaeryang Baek e3ad014fb2 refac 2026-10-28 10:14:11 +09:00
Timothy Jaeryang Baek b34885efc6 refac 2026-10-28 10:02:45 +09:00
Timothy Jaeryang Baek ab133dba21 refac 2026-10-28 08:04:47 +09:00
Classic298andGitHub a4247cfde9 refac: refuse a compressed body when fetching a remote URL (#33271)
Remote fetches now ask for an uncompressed response: web pages, documents, remote images, profile pictures from a login provider and webhook deliveries. A response that comes back compressed anyway is refused, except for a webhook reply, which is only logged and is left unread instead.

A page or file whose host echoes a stored `Content-Encoding` regardless of what the client asks for (an S3 or MinIO object uploaded with that metadata) is no longer read, and a profile picture that arrives that way falls back to the default avatar.
2026-10-28 06:27:00 +09:00
Classic298andGitHub e77204559b fix: foreground sub-agent loses its partial output at the tool-call limit (#33269)
When a foreground sub-agent stopped at the tool-call limit, the parent model got only the error, so everything the sub-agent had written before the limit was lost, while a background sub-agent in the same state reported it as partial output. A foreground sub-agent now returns the error followed by its partial output, the same way the background report does. The error in both modes is now the plain message, such as "Tool-call limit reached (30 iterations).", instead of raw internal data around it.

Fixes #33267
2026-10-28 06:26:35 +09:00
Timothy Jaeryang Baek 1c572c49bc refac 2026-10-28 05:40:58 +09:00
34d3601343 fix(a11y): keep chat messages in a list and make each message's name a heading (#33261)
Co-authored-by: ThreadWeaver <valandkayla@gmail.com>
2026-10-28 03:56:40 +09:00
Timothy Jaeryang Baek 3aaecdd0e9 refac 2026-10-28 03:00:15 +09:00
G30andGitHub cac14f9855 fix(a11y): name the usage heatmap cells for screen readers (#33255) 2026-10-28 02:22:00 +09:00
G30andGitHub bafe181330 fix: Kokoro.js falls back to WASM when the browser has WebGPU but no GPU adapter (#33233) 2026-10-28 02:21:48 +09:00
Classic298andGitHub 7a76e9fed6 fix: sub-agents cannot be given a photo attached in the chat (#33244)
When the model handed a photo from the chat to a sub-agent, the call failed with "file_ids not attached or unavailable" and no sub-agent started. Text files and documents worked, only photos were refused. Photos attached in the chat are now accepted and reach the sub-agent as an image, the same way they reach the model in a normal chat. Files that were never attached to the chat are still refused.

Fixes #33241
2026-10-28 02:21:27 +09:00
G30andGitHub d1ae9e75e0 fix: a failed ComfyUI run is reported as a successful image generation with no images (#33237) 2026-10-28 02:21:01 +09:00