Commit Graph
21323 Commits
Author SHA1 Message Date
Classic298 2d03af81ef fix: paged lists repeat some entries and skip others (#35281)
The admin user list, feedbacks, groups, the workspace models, prompts and skills lists, prompt history, notes, shared chats, automations, calendar search, analytics messages and SCIM user listings are loaded page by page, and when many rows share the sorted value (a role, a bulk-import timestamp, a rating) the database is free to return those ties in a different order for each page. On PostgreSQL 16, paging through 300 users sorted by role showed 16 users twice and never showed 16 others, and with an id tiebreaker every user showed up exactly once. These lists now sort by each entry's id as a last step, as the chats and knowledge lists already do.

Fixes #35280
2026-11-30 18:41:44 +04:00
Classic298 00ad719de0 fix: a subfolder created in a collapsed folder stays hidden (#35283)
Creating a subfolder from a collapsed folder's menu showed "Folder created successfully", but the parent stayed collapsed, so the new folder was nowhere to be seen. The parent now opens and remembers that it is open, the same as clicking its arrow.

Fixes #35282
2026-11-30 18:39:38 +04:00
Classic298 4354c061d7 fix: a failed knowledge base upload shows two error toasts (#35287)
When an upload to a knowledge base failed, the real error showed and then a second, generic "Failed to upload file." right after it. Now only the real error shows.

Fixes #35286
2026-11-30 18:39:13 +04:00
Classic298 0221c17a2c fix: downloading an SVG artifact saves an .html file (#35285)
The download button in the Artifacts panel saved every artifact as an .html file, SVG artifacts included, so image editors and viewers would not open them. SVG artifacts now download as .svg files. HTML artifacts are unchanged.

Fixes #35284
2026-11-30 18:38:54 +04:00
Classic298 f513992355 fix: downloading an image from the full-size viewer saves it with the wrong extension (#35336)
Download in the full-size image viewer saved every embedded image as .png whatever its real type, and an SVG opened from a link was saved as generated_image.svg+xml. Downloads now keep the image's real type and a normal extension such as .jpeg, .webp or .svg.

Fixes #35335
2026-11-30 18:37:55 +04:00
Classic298 35ae1b52e1 fix: two error toasts when a file cannot be read in a temporary chat (#35332)
In a temporary chat, attaching a file the browser cannot read, such as a password-protected or corrupt PDF or DOCX, showed "Failed to extract content from the file: Error: ..." and then a second, generic "Failed to extract content from the file." toast. Now only the first one appears, since it already carries the reason.

Fixes #35331
2026-11-30 18:37:47 +04:00
Classic298 e0fe9d1d5c fix: "Compacting context..." popup disappears before compaction finishes (#35330)
The "Compacting context..." popup closed on its own after four seconds, so on a long chat it vanished while compaction was still running, and "Context compacted" appeared later out of nowhere. "Forking chat..." and the file browser's "Preparing download..." did the same. These popups now stay until the work is done, and the result that replaces them closes after the usual four seconds.

Fixes #35329
2026-11-30 18:36:20 +04:00
Classic298 28583a40a0 fix: chat goes blank after typing a decimal into the message version counter (#35334)
On a message with several versions, double-clicking the "2/3" counter and entering a number like 1.5 emptied the whole chat view. The number is now rounded to the nearest version, so the chat jumps to that version instead of going blank.

Fixes #35333
2026-11-30 18:36:09 +04:00
Classic298 529bb58b9a fix: a native Codex chat stops as soon as one of its subagents finishes (#35230)
When Codex started a subagent in a native Codex chat, the chat ended the moment that subagent finished, even though the main task was still working. The reply was saved as finished with whatever had arrived so far, and Codex recorded the main task as interrupted. A failing subagent also failed the whole chat with its own error. The chat now ends only when the main task itself finishes, and an error from the main task still shows.

Fixes #35226
2026-11-30 18:34:02 +04:00
Classic298 7e2b509869 feat: open a file by typing its path in the machine file browser (#35233)
Typing a file's path into the path bar of a machine's file browser tried it as a folder and showed "Failed to load directory". Now the file opens, and folder paths work as before.

Discussion: https://github.com/open-webui/open-webui/discussions/35231
2026-11-30 18:33:55 +04:00
Classic298 71de09dba5 fix: a provider error mid-reply no longer keeps the tool loop going (#35237)
When the model provider sent an error in the middle of a streamed reply that had started a tool call, Open WebUI showed the error but kept going. It asked the model for another reply, and a tool call whose arguments were already complete still ran. With a provider that kept failing, every new reply hit the error again, up to the CHAT_RESPONSE_MAX_TOOL_CALL_ITERATIONS limit (1024 by default). Now a provider error ends the reply. The error stays shown, no tool from that reply runs and no further request is sent.

Fixes #35236
2026-11-30 18:33:43 +04:00
G30 faea95e272 perf: opening a chat no longer reads all its messages again to restore its tabs (#35202) 2026-11-30 18:31:23 +04:00
Classic298 820b022061 fix: changing the sort of a paged list keeps you on the same page number (#35303)
On page 4 of Admin > Users, Admin > Evaluations > Feedback, the workspace Models, Prompts and Skills lists or a channel's member list, clicking a column header showed page 4 of the new order, somewhere in the middle of the list. Changing the sort now goes back to page 1, like the group member list already does.

Fixes #35302
2026-11-30 18:29:52 +04:00
Classic298 836a434dc9 feat: allow function sync without created_at and updated_at (#35244)
Scripts calling POST /api/v1/functions/sync had to send created_at and updated_at for every function, or the whole request was rejected with "Field required". Both are now optional. When they are left out, a new function gets the current time and an existing function keeps its original creation time, while updated_at is set by the server as before. Payloads that include them, such as the output of GET /api/v1/functions/export, work as they do today.

Fixes #35243
2026-11-30 18:28:17 +04:00
Classic298 e40bc6f481 fix: screen readers miss the pressed state of rating and read aloud buttons and the name of three switches (#35291)
After rating a reply, Good Response or Bad Response looks selected, but screen readers announced no state, and Read Aloud gave screen readers no sign that it was reading aloud. These buttons now report whether they are pressed. The enable switch in the tool server dialog, the Global switch in a function's menu and the enable switch in the webhook form were announced only as "switch, on", and now have a name.

Fixes #35290
2026-11-30 18:27:55 +04:00
Classic298 2e94968a9a perf: opening a channel no longer loads its pinned messages in the background (#35293)
Every time a channel opened, its pinned messages were fetched even though the Pinned Messages dialog was closed, and that result was thrown away when the dialog loaded them again on open. They now load only when the dialog opens. Requests for pinned messages, counted in the browser over the same clicks:

<table>
<tr><th>Step</th><th>Before</th><th>After</th></tr>
<tr><td>Open a channel</td><td>1</td><td>0</td></tr>
<tr><td>Switch to another channel</td><td>1</td><td>0</td></tr>
<tr><td>Open the Pinned Messages dialog</td><td>2</td><td>2</td></tr>
</table>

Fixes #35292
2026-11-30 18:27:16 +04:00
Classic298 294c0e988d fix: exporting a table to CSV keeps markdown in the header row (#35299)
When a table header had formatting such as **bold**, `code` or a link, Export to CSV wrote it raw, so the header came out as "**Name**" or "[Docs](https://example.com)" while the rows below were clean. The header now takes its text the same way the rows do.

Fixes #35298
2026-11-30 18:26:55 +04:00
Classic298 571e4e3b52 fix: Enter or Escape while typing with an IME saves, submits or closes too early (#35295)
When typing Japanese, Chinese or Korean with an input method (IME), Enter, Space and the arrow keys pick conversion candidates and Escape drops them. Many inputs treated those keys as their own: Escape stopped a running response, threw away a message, cell, rename or comment draft, cleared a search or closed the dialog, drawer, menu or model selector, and Enter or Space saved, submitted, searched, picked a model or added the text while it was still half-typed. Inputs, dialogs and menus that act on these keys now leave keys that belong to the IME alone, the same way chat rename already does.

Fixes #35294
2026-11-30 18:26:49 +04:00
Classic298 da69677528 fix: screen readers do not announce selected or expanded state in chat messages (#35338)
After a thumbs up or down, the "How would you rate this response?" panel did not tell screen readers which score or reason was selected. The task list collapse button and the code block Collapse button also did not say whether they were open, and the task list button was read in English regardless of the interface language. Screen readers now hear the selected score and reason, the open or closed state of both buttons, and a translated task list label.

Fixes #35337
2026-11-30 18:26:08 +04:00
Classic298 118334a1c6 fix: imported prompts lose their tags (#35340)
Exporting prompts from Workspace > Prompts and importing the same file created the prompts without any of their tags, even though the export file contains them. Import now keeps the tags. Access settings are still left out on purpose, because groups do not carry over between instances.

Fixes #35339
2026-11-30 18:25:59 +04:00
Classic298 d8acc46b69 fix: importing a broken prompts file does nothing (#35342)
Picking a malformed .json file in Workspace > Prompts > Import silently did nothing, and picking the same file again after fixing it did nothing either. Now an "Invalid JSON file" error shows, the same as importing in Workspace > Models, and the file can be picked again right away.

Fixes #35341
2026-11-30 18:25:51 +04:00
Classic298 28ee8cd0b0 fix: Reset Vector Storage shows Success before the reset has finished (#35344)
Confirming Reset Vector Storage/Knowledge in the Documents settings showed a Success toast right away, even when the reset then failed on the server. The toast now waits for the reset and only shows Success once it actually went through.

Fixes #35343
2026-11-30 18:25:44 +04:00
Classic298 36522bbbb6 fix: connection check shows Network Problem instead of the real error (#35346)
Verifying an Anthropic or Ollama connection with a wrong API key showed only "OpenAI: Network Problem" or "Ollama: Network Problem", while the actual reason from the provider was there but got lost. The toast now shows the provider's error, and OpenAI-compatible connections still show theirs.

Fixes #35345
2026-11-30 18:25:36 +04:00
G30 68b0f9e6ea fix: long model names in the Evaluations Leaderboard and Feedback lists end in an ellipsis instead of widening the table (#35349) 2026-11-30 18:23:46 +04:00
G30 0d8e4859de fix: a workspace model or prompt can no longer be named with only spaces (#35358) 2026-11-30 18:22:37 +04:00
G30 6a3d9fe837 i18n: fill missing translations in 48 languages (#35172) 2026-11-30 18:22:20 +04:00
Timothy Jaeryang Baek ddbae76706 refac 2026-11-27 19:59:58 +04:00
Timothy Jaeryang Baek 23de0cebab refac 2026-11-27 19:49:59 +04:00
Timothy Jaeryang Baek b9b3957701 refac 2026-11-27 18:18:46 +04:00
Timothy Jaeryang Baek 606d33469a refac 2026-11-27 18:15:04 +04:00
G30 f725d5c759 chore: a reply cut off by a closed model connection says so in plain words (#35141) 2026-11-27 17:26:56 +04:00
Classic298 278342b867 fix: system messages split into several text blocks lose every block after the first (#35153)
A system message sent through the API split into several text blocks, which the OpenAI format allows and clients such as LangChain send, reached the model with only its first block. The rest of the instructions were dropped without any warning. Every block now reaches the model. Text that Open WebUI adds to a system or user message split this way, like knowledge context, used to be copied into every block and is now added once. Requests where every message is a single block of text are sent exactly as before.

Fixes #35149
2026-11-27 17:26:39 +04:00
Classic298 ff70b357e0 fix: file reads by the model get blank lines that are not in the file (#35162)
When the model read or searched files with the built-in file tools, the new paragraph citation markers came with an empty line before each of them, and the text at each paragraph break changed. What the model read no longer matched the file, and the file text alone could go over the read size limit. The markers now go in front of each paragraph and the file text around them stays exactly as it is.

Fixes #35161
2026-11-27 17:26:12 +04:00
Timothy Jaeryang Baek 7b30ad5bea refac 2026-11-27 17:25:43 +04:00
G30 0e5eb45c09 fix: keep a reply's text when its model connection drops partway through (#35143) 2026-11-27 17:23:50 +04:00
G30 4dc058bbb7 i18n: fix 35 existing translations in 11 languages (#35155) 2026-11-27 16:02:07 +04:00
Timothy Jaeryang Baek e07a4b2bc6 refac 2026-11-27 15:31:53 +04:00
Timothy Jaeryang Baek 79d556efda refac 2026-11-27 15:18:31 +04:00
Timothy Jaeryang Baek 91ef645d95 refac 2026-11-27 15:17:00 +04:00
G30 9a5ce52843 i18n: fill missing translations in 48 languages and fix 14 existing ones (#35138) 2026-11-27 15:06:05 +04:00
Timothy Jaeryang Baek 3f3cd7b971 refac 2026-11-27 04:38:15 +04:00
Timothy Jaeryang Baek d36ab208f3 refac 2026-11-27 04:26:53 +04:00
Timothy Jaeryang Baek 723a1a577f refac 2026-11-27 04:12:22 +04:00
Timothy Jaeryang Baek 205761a76b refac 2026-11-27 03:27:04 +04:00
Timothy Jaeryang Baek aa8d32e9f3 refac 2026-11-27 03:14:04 +04:00
G30 c63565927d fix: keep the main chat's address while a chat tab beside it is in front (#35137) 2026-11-27 03:09:43 +04:00
Classic298 60d9094f67 fix: asking about a file from a folder's Files tab never gets a reply (#35084)
Selecting a spreadsheet cell or some text in a file opened from a folder's Files tab and asking about it opened a new chat with the question and the file, but nothing was sent to the model and no error showed up. Chats in a folder now accept files opened from their own folder, so the question goes out and the reply appears. Files from another folder, another chat or another machine are still refused.

Fixes #35080
2026-11-27 02:44:13 +04:00
Timothy Jaeryang Baek 25d880bd62 refac 2026-11-27 02:42:47 +04:00
Classic298 78bd95f21e fix: native knowledge citations open PDFs at page 1 instead of the cited page (#35116)
With native function calling and page numbers turned on for sources (page in RAG_SOURCE_METADATA_KEYS), clicking a citation from a search of a knowledge base or of files attached to the chat opened the PDF at the first page, even though the search had found the right page. The citation now opens the PDF at the cited page. Without native function calling it already did.

Fixes #35108
2026-11-27 02:37:45 +04:00
Classic298 b6f0d483ed perf: removing files from a large knowledge base on pgvector gets slower the bigger it grows (#35123)
With pgvector, removing, updating or re-syncing a file in a knowledge base scanned every chunk of that knowledge base to find the file's own chunks, and so did the check for a duplicate upload. A cleanup of 94 files through the knowledge base sync API, in a knowledge base of 756,000 chunks, took about a minute, long enough for sync clients to time out. These lookups now use indexes instead of scanning the whole knowledge base. The indexes are built once on the first start after upgrading, which took under 3 seconds on a table of 1.5 million chunks. They are skipped when PGVECTOR_PGCRYPTO is enabled, because encrypted metadata cannot be indexed, so those setups keep the old speed.

<table>
<tr><th>756,000 chunks in the knowledge base</th><th>Before</th><th>After</th></tr>
<tr><td>Sync cleanup, 94 files</td><td>60.8 s</td><td>0.96 s</td></tr>
<tr><td>Remove one file</td><td>631 ms</td><td>22 ms</td></tr>
<tr><td>Update one file</td><td>973 ms</td><td>488 ms</td></tr>
<tr><td>Reject a duplicate upload</td><td>204 ms</td><td>70 ms</td></tr>
</table>

Fixes #35122
2026-11-27 02:37:19 +04:00