Commit Graph
20236 Commits
Author SHA1 Message Date
Classic298 d58af14c0c Merge pull request #33377 from Classic298/fix-chat-load-controller-renewal
fix: Controls file removals and shared-chat Regenerate break in a new chat
2026-10-29 19:18:14 +09:00
Timothy Jaeryang Baek c5981aaea6 refac 2026-10-29 18:46:35 +09:00
Timothy Jaeryang Baek eed4c1f693 refac 2026-10-29 18:44:38 +09:00
Timothy Jaeryang Baek cbeb8e3630 refac 2026-10-29 18:42:37 +09:00
Classic298 05e1153666 fix: arrow keys skip menu entries that appear after the menu opens (#33375)
Menus only let the arrow keys, Home and End reach the entries that were there the moment they opened. Entries that show up afterwards, such as the file, note, knowledge and chat lists in the message box's More menu or the tags in the chat actions menu, could only be reached with Tab or the mouse. These entries can now be reached with the arrow keys as soon as they appear, and screen readers announce them as menu items like the rest.

Fixes #33374
2026-10-29 18:03:08 +09:00
Timothy Jaeryang Baek 5546e3c655 refac 2026-10-29 18:00:54 +09:00
Timothy Jaeryang Baek 858c1e9665 chore: bump 2026-10-29 17:47:24 +09:00
Classic298 49ca2d7915 docs: start 0.12.5 changelog (#33188)
* docs: start 0.12.5 changelog

* docs: add session explorer and token count fix to 0.12.5 changelog

* docs: add provider details and latest fixes to 0.12.5 changelog

* docs: add embedding prefixes and new fixes to 0.12.5 changelog

* docs: update 0.12.5 changelog date

* docs: add generated images in terminals to 0.12.5 changelog

* docs: add latest fixes, accessibility and translations to 0.12.5 changelog

* docs: add model selection changes to 0.12.5 changelog

* docs: extend 0.12.5 accessibility entry

* docs: update model switch entry in 0.12.5 changelog

* docs: add sub-agent fix and security notice to 0.12.5 changelog

* docs: add terminal start timeout to 0.12.5 changelog

* docs: add note pages, presence and MCP fix to 0.12.5 changelog

* docs: add calendar and webhook fixes to 0.12.5 changelog

* docs: add Playground, notification and translation fixes to 0.12.5 changelog

* docs: link rename request in 0.12.5 changelog

* docs: add latest features and fixes to 0.12.5 changelog

* docs: add API key management and reconnect fix to 0.12.5 changelog

* docs: add shared folder pin fix to 0.12.5 changelog

* docs: add visibility controls and batch size fix to 0.12.5 changelog

* docs: extend 0.12.5 accessibility entry

* docs: add tool image, Stop button and thread fixes to 0.12.5 changelog

* docs: add display_file, chat loading and other fixes to 0.12.5 changelog

* docs: add faster chat search to 0.12.5 changelog
2026-10-29 17:46:33 +09:00
Timothy Jaeryang Baek d228c8b5bf chore: i18n 2026-10-29 17:43:03 +09:00
Timothy Jaeryang Baek 44a9d499db refac 2026-10-29 17:39:31 +09:00
Timothy Jaeryang Baek df61370456 refac 2026-10-29 17:20:55 +09:00
Timothy Jaeryang Baek 193cf225f3 refac 2026-10-29 17:06:35 +09:00
G30 722f71f2cc fix: the Available Tools window lists an OpenAPI tool server's tools (#33205) 2026-10-29 17:02:14 +09:00
Classic298 a59cab0aa9 perf: knowledge base changes slow down as the knowledge base grows (#33335)
Adding, updating or removing knowledge base files through the API sent back the metadata of every file in the knowledge base, and so did renaming a knowledge base or changing its access. These calls got slower as the knowledge base grew, so bulk ingestion through the API lost speed with every batch. Adding or updating files now returns only those files, while removing a file, renaming or changing access returns an empty files list. API clients that read the files list from these responses now get only the affected files; the full list stays available, paginated, from `GET /api/v1/knowledge/{id}/files`. Timings with a local mock embedding server that answers instantly, median of 5 runs (at 1,000 files the per-file work of a batch still hides the difference):

| Files already in the knowledge base | Call | Before | After | Response size before | Response size after |
|---|---|---|---|---|---|
| 1,000 | batch add of 100 files | 519 ms | 528 ms | 437 KB | 39 KB |
| 10,000 | batch add of 100 files | 679 ms | 476 ms | 4.0 MB | 39 KB |
| 10,000 | single file add | 184 ms | 36 ms | 4.0 MB | 0.6 KB |

Closes #31397
2026-10-29 17:00:29 +09:00
G30 208e71d386 fix: deleting, renaming or adding a file keeps expanded folders listed in the Files tab (#33195) 2026-10-29 16:57:57 +09:00
Timothy Jaeryang Baek ef29fb12f1 refac 2026-10-29 16:44:26 +09:00
G30 1b92d98484 fix: a calendar event that ends at midnight shows on one day in Month view (#33292) 2026-10-29 16:39:59 +09:00
Timothy Jaeryang Baek f2cdbbebe3 refac 2026-10-29 16:39:42 +09:00
Timothy Jaeryang Baek be8ebed784 refac 2026-10-29 16:37:21 +09:00
Classic298 63ca4237eb feat: keep tool images away from models with Vision turned off (#33345)
When a tool returned an image, for example Open Terminal reading a PNG, a native tool or an MCP screenshot tool, the image was sent to the model even when the model has Vision turned off. A provider serving a text-only model rejects that request, so the reply failed with an error like "At most 0 image(s) may be provided in one prompt", and every later message in the chat failed the same way. With Vision off the model now gets a short "[image]" note in place of each tool image, including images already saved in the chat, so stuck chats work again. The images stay saved, so they reach the model again once Vision is turned on.

Fixes #32720
2026-10-29 16:24:47 +09:00
Timothy Jaeryang Baek d14d8788af refac 2026-10-29 16:23:53 +09:00
G30 55944a0e0e fix(a11y): a model picker opened in a window takes keyboard focus, and focus stays in the window after it closes (#33365) 2026-10-29 16:19:39 +09:00
Timothy Jaeryang Baek d6610adaa9 refac 2026-10-29 16:14:29 +09:00
G30 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
G30 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
G30 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
G30 7615408182 fix(a11y): every field in the calendar event window has a name (#33361) 2026-10-29 14:54:10 +09:00
G30 1b47858b66 fix(a11y): Tab from a note's title reaches the Generate title button (#33354) 2026-10-29 14:50:50 +09:00
G30 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
G30 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
G30 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
Classic298 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
G30 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
Classic298 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
Classic298 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
Classic298 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
Classic298 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
Classic298 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
Classic298 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
Classic298 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