Commit Graph
21294 Commits
Author SHA1 Message Date
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
Classic298 ee188b4316 fix: use the Youtube Proxy URL for YouTube transcripts even when HTTPS_PROXY is set (#35124)
With HTTPS_PROXY set on the server, fetching a YouTube transcript went through that proxy instead of the configured Youtube Proxy URL, without any message saying so. Servers behind a company proxy got the "YouTube blocked the transcript request" error even though they had set a separate proxy for YouTube. The Youtube Proxy URL now always wins when it is set, and HTTPS_PROXY is still used when it is not. Custom CA certificates set through REQUESTS_CA_BUNDLE keep working either way.

Fixes #35121
2026-11-27 02:36:54 +04:00
Timothy Jaeryang Baek 8103755d47 refac 2026-11-27 02:25:06 +04:00
Classic298 4aaf19191f fix: slide preview shows the first slide when opened at a later one (#35107)
When a PowerPoint preview opened at a given slide, it often showed the first slide while the slide number and the highlighted thumbnail said the requested one. It stayed on the wrong slide until the user moved to another slide and back. The preview now shows the slide that was asked for.

Fixes #35106
2026-11-27 01:19:43 +04:00
Classic298 1e68fa8d18 fix: with several workers, chats go to the wrong connection after a connection is deleted (#35119)
With UVICORN_WORKERS above 1, deleting an OpenAI or Ollama connection left every worker except the one that saved the change sending some models to the wrong connection, so chats failed with "model not found" until a restart. The admin panel showed the right connection the whole time. The workers now share which connection serves each model through Redis, which several workers already require, so a change reaches all of them at once.

Fixes #35114
2026-11-27 01:19:28 +04:00
G30 1362747031 i18n: fill missing translations in 48 languages (#35135) 2026-11-27 01:17:58 +04:00
Timothy Jaeryang Baek 833f32f8f4 refac 2026-11-27 00:58:20 +04:00
Timothy Jaeryang Baek 7b37a62240 refac 2026-11-27 00:31:51 +04:00
G30 a8399f68fb fix: hide finished reasoning blocks that have no text (#35126) 2026-11-27 00:12:28 +04:00
Timothy Jaeryang Baek f0acd8e771 refac 2026-11-27 00:07:04 +04:00
G30 de696d4b4a fix: check ui translation placeholders against the default text (#35127) 2026-11-26 23:44:04 +04:00
G30 26b6484e11 fix: add browser history entries for page tabs and follow back and forward (#35131) 2026-11-26 23:41:12 +04:00
G30 42b06ada7c i18n: fill missing translations in 48 languages and fix 13 existing ones (#35130) 2026-11-26 23:37:35 +04:00
Timothy Jaeryang Baek 4d49c6d950 refac 2026-11-26 21:25:16 +04:00
Timothy Jaeryang Baek 90eae9507c refac 2026-11-26 21:08:30 +04:00
Timothy Jaeryang Baek c4b71322ae refac 2026-11-26 18:27:34 +04:00
Timothy Jaeryang Baek ee7846286c refac 2026-11-26 18:25:14 +04:00
Timothy Jaeryang Baek 65f64e37b8 refac 2026-11-26 18:21:10 +04:00
Timothy Jaeryang Baek c456a6dbfd refac 2026-11-26 18:14:38 +04:00
Timothy Jaeryang Baek 2d4a3f622f refac 2026-11-26 17:24:30 +04:00
Timothy Jaeryang Baek 5fc1b1b591 refac 2026-11-26 17:21:33 +04:00
Timothy Jaeryang Baek c6b06567b8 refac 2026-11-26 17:19:16 +04:00
Timothy Jaeryang Baek 24f49bf467 refac 2026-11-26 17:16:55 +04:00
Timothy Jaeryang Baek 7a797bee44 refac 2026-11-26 17:08:19 +04:00
Timothy Jaeryang Baek 536032a9ef refac 2026-11-26 16:57:06 +04:00
Timothy Jaeryang Baek ee38c0213c refac 2026-11-26 16:55:05 +04:00
Timothy Jaeryang Baek 3854a4d086 refac 2026-11-26 16:36:45 +04:00
Timothy Jaeryang Baek e0eb2297d1 refac 2026-11-26 16:20:36 +04:00
Timothy Jaeryang Baek 54d1b41fd3 refac 2026-11-26 15:48:48 +04:00
Timothy Jaeryang Baek 376e77cee0 refac 2026-11-26 15:45:31 +04:00