Commit Graph
1885 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 3e0e760ce3 refac 2026-10-10 21:11:20 +04:00
G30 78550396da fix: keep a tag's name when the last chat using it is archived (#32200) 2026-10-10 20:30:15 +04:00
Timothy Jaeryang Baek d04f78b3bf refac 2026-10-10 20:29:50 +04:00
G30 e056b29685 fix: report a failed admin Interface save and fall back to the default when a number field is left empty (#32163) 2026-10-10 20:01:18 +04:00
Classic298 6faf540310 fix: show the speech engine's reason when it refuses a transcription (#32186)
When an OpenAI-compatible speech-to-text engine or Deepgram rejected a recording, the error shown after dictating only gave the HTTP status, such as "429 Too Many Requests", and the engine's own reason, such as "Quota exceeded" or "Invalid credentials.", was lost. The error now shows that reason. When the engine sends no reason, the HTTP status is shown as before.

Fixes #32009
2026-10-10 20:00:51 +04:00
Timothy Jaeryang Baek d54aa9836e refac 2026-10-10 14:28:56 +04:00
Timothy Jaeryang Baek 8d0ff76f2b refac 2026-10-10 14:03:26 +04:00
Timothy Jaeryang Baek 5de5bf235b refac 2026-10-10 12:35:44 +04:00
Timothy Jaeryang Baek 09dcb60887 refac 2026-10-09 21:42:26 +04:00
Timothy Jaeryang Baek e6476928ee refac 2026-10-09 18:37:55 +04:00
Timothy Jaeryang Baek 27b48b70df refac 2026-10-09 17:05:53 +04:00
Timothy Jaeryang Baek 16849284ff refac 2026-10-09 17:01:47 +04:00
Timothy Jaeryang Baek 24ee1cb168 refac 2026-10-09 16:31:34 +04:00
Timothy Jaeryang Baek 33dd7dd224 refac 2026-10-09 16:17:11 +04:00
Timothy Jaeryang Baek 37138282fb refac 2026-10-09 15:54:44 +04:00
Timothy Jaeryang Baek 9bbb95048b refac 2026-10-09 15:07:43 +04:00
Timothy Jaeryang Baek 83acd08697 refac 2026-10-08 22:05:36 +04:00
Timothy Jaeryang Baek 93fc3fcb72 refac 2026-10-08 20:33:47 +04:00
Timothy Jaeryang Baek 87a9374595 refac 2026-10-08 19:40:19 +04:00
Timothy Jaeryang Baek ce18eca340 refac 2026-10-08 19:36:27 +04:00
Classic298 c04c7ddae0 fix: reranker gets no user info headers in chat and knowledge search (#32061)
With ENABLE_FORWARD_USER_INFO_HEADERS on and hybrid search enabled, rerank requests went out without the user headers when a chat searched attached knowledge, when a model used the built-in knowledge search tool, and when the collection query API was called with hybrid turned off for that one request. The embedding requests of the same search did carry them, so external rerankers that use these headers for per-user auth, rate limits or auditing saw anonymous calls. Rerank requests now carry the signed-in user, the same as embedding requests.

Fixes #32060
2026-10-08 16:55:45 +04:00
Timothy Jaeryang Baek 6cfd6987e5 refac 2026-10-08 14:58:06 +04:00
Timothy Jaeryang Baek de73bb830a refac 2026-10-08 14:30:07 +04:00
Timothy Jaeryang Baek 8145774e32 refac 2026-10-08 13:53:33 +04:00
Timothy Jaeryang Baek 6defd4a947 refac 2026-10-07 16:17:22 +04:00
Classic298 1e75614505 fix: a model downloaded by URL in Manage Ollama can reach Ollama with the end of the file missing (#31974)
When a model file was downloaded by URL in Manage Ollama, the end of the file could still be on its way to disk when Open WebUI sent it to Ollama, so Ollama got a cut-off copy. The download is now fully on disk before it is sent, so Ollama gets the whole file.

Fixes #31956
2026-10-07 16:01:22 +04:00
Timothy Jaeryang Baek e56f85f432 refac 2026-10-07 13:49:55 +04:00
Timothy Jaeryang Baek 9b667e0eb6 refac 2026-10-07 13:44:42 +04:00
Timothy Jaeryang Baek 7401f41630 refac 2026-10-07 13:22:00 +04:00
Timothy Jaeryang Baek 7c9d73b605 refac 2026-10-07 12:37:50 +04:00
Timothy Jaeryang Baek 0f5a58f5fb refac 2026-10-07 01:02:33 +04:00
Timothy Jaeryang Baek fa4c7fe5e8 refac 2026-10-07 00:57:06 +04:00
Timothy Jaeryang Baek 093bfce2b6 refac 2026-10-07 00:39:16 +04:00
Timothy Jaeryang Baek 106aae70e9 refac 2026-10-06 21:45:10 +04:00
Timothy Jaeryang Baek b0bcd94519 refac 2026-10-06 16:41:33 +04:00
Timothy Jaeryang Baek b8738494cf refac 2026-10-06 16:35:49 +04:00
Timothy Jaeryang Baek 398c37c73c refac 2026-10-05 14:35:15 +04:00
Timothy Jaeryang Baek d4c561d9f2 refac 2026-10-05 14:01:02 +04:00
Timothy Jaeryang Baek 24e30d1cbd refac 2026-10-05 12:17:25 +04:00
Timothy Jaeryang Baek fb741ebcd2 refac 2026-10-05 10:56:06 +04:00
Timothy Jaeryang Baek cf5755f949 refac 2026-10-05 10:48:41 +04:00
G30 1b2ceedd61 fix: create the model when a GGUF is uploaded to Ollama, in File Mode and URL Mode (#31862) 2026-10-05 06:43:06 +04:00
G30 8c34af3033 fix: keep private arena models with no access grants visible to admins without the admin bypass (#31858) 2026-10-05 06:42:55 +04:00
G30 2e43d66985 fix: report a web search where no page loaded instead of blaming the embedding settings (#31859) 2026-10-05 06:42:48 +04:00
Timothy Jaeryang Baek 015dbc8619 refac 2026-10-01 08:38:21 +04:00
Classic298 ecd0ff67e1 fix: apply the duplicate-content check to knowledge batch add (#31336)
Adding files through `POST /api/v1/knowledge/{id}/files/batch/add` accepted a file whose extracted text was already in the knowledge base under another file, and linked both, while the single-file add rejects the same file with "Duplicate content detected". The same text was then embedded twice and retrieval returned the same passages twice.

The batch path now runs each file's content hash through the same check the single-file path uses, now shared by both, and also against the earlier files of the same batch. A duplicate is reported as a failed file in the batch result and is not linked, while the other files of the batch still go through. Batch-added chunks now carry the content hash in their metadata, so later adds through either endpoint detect them.

Chunks written by batch add before this change have no hash, so content added that way earlier is still not detected as a duplicate.

Verified on a running instance: two files with identical text now end up with exactly one linked in every order and combination (one batch call, separate batch calls, batch mixed with single add), and re-adding the same file is still accepted.

Fixes #31333
2026-10-01 07:53:06 +04:00
Classic298 5e1f4d8c33 fix: subscribe members added to a channel to its live feed (#31113)
A user added to an existing group or DM channel saw nothing from it until they reloaded the page: the channel did not appear in their sidebar, and opening it by URL showed the history but no new messages, edits, pins or reactions.

Adding members now does what channel creation already does for its participants: the newly inserted members get a `channel:created` event so their sidebar refreshes, and their open sessions join the channel room so live updates reach them. Standard channels are skipped because their access comes from access grants, matching the membership-removal path.

Verified against a running server with two live Socket.IO clients: the added user's open session now gets the sidebar refresh and the next message immediately; re-adding an existing member, removal and standard channels behave as before.

Fixes #30432
2026-10-01 07:52:07 +04:00
Timothy Jaeryang Baek f50f9e6252 refac 2026-10-01 03:31:20 +04:00
Classic298 9d2c3965ff fix: send max_completion_tokens for Bedrock-prefixed OpenAI models (#30976)
On an Amazon Bedrock OpenAI-compatible connection, GPT-5.6 and GPT-6 models have ids like `us.openai.gpt-6-sol` or `openai.gpt-6-luna`. These were not recognised as new OpenAI models, so `max_tokens` went upstream unchanged and Bedrock rejected it with a 400. Title and emoji generation failed on every chat, and any request with a token limit failed too. Setting `max_completion_tokens` by hand did not help, because non-OpenAI URLs convert it back to `max_tokens`.

`is_openai_new_model()` now drops a leading `openai.` or `<region>.openai.` (`us.`, `eu.`, `global.`, `us-gov.`) before matching, so these ids get the same handling as bare `gpt-5` ids. Ids that are not new models, such as `openai.gpt-oss-120b-1:0` and `gpt-4o`, are unchanged, and so is the LiteLLM `openai/` prefix.

Fixes #30510
2026-09-30 20:09:06 +04:00
Classic298 a29c969fc7 fix: SCIM group members are returned with "$ref": null (#31529)
Every member listed in a SCIM group response came back with "$ref": null, so identity providers had no link from a group member to that user's SCIM resource. Members now carry the URL of the user they point to, on both the single group and the group list responses.

Fixes #31525
2026-09-30 19:47:11 +04:00