Commit Graph
19854 Commits
Author SHA1 Message Date
Classic298 37af63b649 fix: models get an unreadable dump instead of the MCP server's error message (#32942)
* fix: MCP tool errors reach the model as a Python list dump instead of the server's message

When an MCP tool server answered a call with an error, the model got a Python dump of the whole result list, with quotes, annotations and meta fields, instead of the error text the server wrote. Line breaks in the message were escaped as well, so a validation error listing the missing argument was hard to read and models tended to retry the same broken call. The model now gets the server's error text as written, the same way successful results already arrive.

Fixes #32918

* refac: drop the fallback text for MCP errors with no message

The error now carries only the text the server sent.

* fix: keep a readable error when an MCP error has no text

MCP error results that only carry images, audio or resources now give the model a short error message instead of an empty one.
2026-10-25 06:21:30 +09:00
G30 637da15918 fix(a11y): the More and Eject buttons on model picker rows are 24 pixels square when Accessibility Mode is on (#32920) 2026-10-25 06:21:16 +09:00
G30 b085326746 fix(a11y): the version link and See what's new in Settings > About are at least 24 pixels tall when Accessibility Mode is on (#32946) 2026-10-25 06:20:19 +09:00
Timothy Jaeryang Baek 049d75e176 refac 2026-10-25 05:47:26 +09:00
Classic298 5e62c8997f fix: Terminal capability shows while no terminal server exists (#32966)
* fix: Terminal capability shows while no terminal server exists

The Terminal capability showed in the model editor even when the admin had set up no terminal server and direct integrations were off, which is the default, so it did nothing. It now shows only when an enabled terminal server exists or users can add their own through direct integrations, and the value saved on a model is kept. The server now reports whether any enabled terminal server exists, since the editor itself only sees the servers the current user can access and a model can be shared with other users.

Refs #32830

* fix: hide the default terminal picker when no terminal is available

The model editor still showed the default terminal line when no terminal server or direct integration was available. It now follows the same rule as the Terminal capability.
2026-10-25 05:15:13 +09:00
G30 936e9d1139 fix(a11y): a model's hidden description stays inside its row in the model picker (#33018) 2026-10-25 05:14:40 +09:00
G30 0d8572f532 fix(a11y): Archived Chats is a table for screen readers, with the sort order on its column headers (#33022) 2026-10-25 05:14:26 +09:00
G30 9aae241770 fix(a11y): opening a filter list from the keyboard moves focus to its options (#33025) 2026-10-25 05:13:38 +09:00
G30 988602e135 fix(a11y): the active Workspace section is underlined when Accessibility Mode is on (#33063) 2026-10-25 05:13:14 +09:00
Classic298 159a29ed06 fix: temporary chat and delete chat shortcuts show while not allowed (#32978)
* fix: temporary chat and delete chat shortcuts show while not allowed

The keyboard shortcuts list showed "New Temporary Chat" and "Delete Chat" to users who may not use temporary chats or delete chats, and pressing those shortcuts neither opened a temporary chat nor deleted anything for them. Both entries now only show to users with the matching permission, and the settings search skips them otherwise.

Refs #32830

* fix: new temporary chat shortcut does nothing without the permission

Users without the temporary chat permission were sent to a new chat by the New Temporary Chat shortcut; it now does nothing for them.
2026-10-25 05:05:31 +09:00
G30 a39c50235e fix(a11y): the sidebar button on Calendar, Notes, Channels and Home is named for screen readers (#33095) 2026-10-25 05:04:34 +09:00
G30 5d6bef683f fix(a11y): screen readers announce the suggested prompts on a new chat as buttons (#33094) 2026-10-25 05:04:25 +09:00
Timothy Jaeryang Baek 74fb7a8c56 refac 2026-10-25 04:50:39 +09:00
G30 db5090dee3 fix(a11y): the on/off switches on Skills, Functions and Automations rows are named and no longer wrapped in an unnamed button (#33096) 2026-10-25 04:49:50 +09:00
Classic298 12585a3851 chore: bump Brotli to 1.2.1 and brotlicffi to 1.2.1.0 (#33073)
Fixes CVE-2026-111497 (the "Node2Shell"/"HTTP2Shell" Brotli decoder flaw). Open WebUI decodes Brotli responses automatically whenever it fetches from a model provider, a tool server or a web page, so a malicious server could hand it a crafted response that hits the vulnerable decoder. Both packages now use the fixed releases.
2026-10-25 04:49:42 +09:00
Classic298 ee7c9ff5c1 fix: tool server tools change their schema on every restart and break prompt caching (#33000)
The required parameters of OpenAPI tool server tools, Open Terminal included, were sent to the model in a random order that could change every time Open WebUI restarted. The tool list sits at the start of every prompt, so a different order made every prefix cache on the model side miss, and long chats were processed again from scratch after a restart. The required parameters now keep the order the tool server declares, so the tool list stays identical across restarts.
2026-10-25 04:46:48 +09:00
Classic298 a6cf0b23ab chore: bump aiohttp to 3.14.5 (#33074)
Picks up the 3.14.4 security release and the 3.14.5 fixes. Open WebUI only uses aiohttp as a client, and the fixes that apply there stop Secure cookies from going out over plain HTTP, stop a connection from being reused after a cancelled upload, fix a memory leak on upstream websocket connections, and keep a websocket open when the server sends a control frame with the RSV1 bit set. Its URL library yarl moves to 1.25.1 because the new aiohttp requires it. Checked with a fresh install, the startup check, the unit and outbound HTTP integration tests, and a streamed chat.
2026-10-25 04:44:07 +09:00
Classic298 4bf37fd661 chore: bump Pillow to 13 (#33077)
Pillow, the image library behind image uploads, edits and PDF image reading, moves to 13.0.0, the major release that carries fixes for crafted image files in its JPEG, TIFF, GIF, BMP and other decoders. No code had to change, since nothing in Open WebUI uses the features this release removed or changed. Verified with a real install, a server boot, the unit tests and the image-related integration tests, plus live runs of chat image uploads, image editing, PDF image extraction and profile pictures that gave the same results as the current version.
2026-10-25 04:43:58 +09:00
Classic298 7d488073ea chore: bump pypdf and cryptography (#33078)
pypdf moves from 6.7.5 to 6.21.2, which brings many fixes for malformed PDFs that could hang the server or exhaust its memory during upload. Its text extraction also changed a little: some line breaks inside a block of text now come out as spaces, so a re-uploaded document can be split into chunks slightly differently, with the same words. cryptography picks up its 48.0.1 patch release, which ships wheels built against OpenSSL 4.0.1. Verified with a real install, the startup check and the upload, retrieval and sign-in tests, plus a text PDF and an image PDF that give the same extracted text as before.
2026-10-25 04:43:40 +09:00
G30 3a46f629f1 fix(a11y): a folder's options button is named and not nested inside another button (#33093) 2026-10-25 04:42:00 +09:00
G30 6774b79a69 fix(a11y): the sidebar's user menu button is named by the user's name it shows (#33097) 2026-10-25 04:41:21 +09:00
Taylor WilsdonandClaude Opus 5.5 8151826483 feat: connect to MCP servers that speak protocol version 2026-07-28 (#33087)
Upgrade the MCP SDK to 2.3.0 and build MCPClient on its Client in
mode='auto', which probes server/discover for the stateless 2026-07-28
protocol and falls back to the initialize handshake for legacy servers.
MCPClient's public surface is unchanged.

MCP_INITIALIZE_TIMEOUT becomes the session's default request timeout, so
it bounds the legacy handshake, tool listing and resource reads; tool
calls keep using AIOHTTP_CLIENT_TIMEOUT_TOOL_SERVER.

Relates to #29778

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 04:41:10 +09:00
Classic298 ea615c3a2e fix: read aloud stops after the first failed sentence instead of requesting the rest (#33028)
When one sentence failed to synthesize during Read Aloud, playback ended but every remaining sentence was still sent to the speech provider, each failure showed its own error toast and any audio that came back was thrown away. Read Aloud now requests no further sentences after the first failure, so a provider outage gives one error and no wasted requests.

Fixes #33023
2026-10-24 15:04:46 +09:00
Classic298 8852d460b7 fix: group permission toggles show while their feature is off (#32983)
Users > Groups and the default permissions showed toggles such as Web Search, Channels, Notes, API Keys or Rate Response even when the admin had turned that feature off for the whole instance, so changing them did nothing. Each of these toggles, and the sharing toggles for notes, folders and calendars, now only shows while its feature is on. Stored permission values are kept, so turning a feature back on restores each group's setting.

Refs #32830
2026-10-24 14:44:47 +09:00
G30 c04e408432 fix: deleting the open chat from the sidebar leaves its messages on screen (#33069) 2026-10-24 14:30:06 +09:00
Timothy Jaeryang Baek fc5795e65f refac 2026-10-24 12:32:06 +09:00
Classic298andTim Baek d48b5e1c87 fix: voice call settings show while calls are not allowed (#32975)
The Voice section in Settings > Interface, with voice interruption and emoji in call, showed to users without the call permission, who cannot start a call. The section now only shows to users who can make calls, and the settings search skips it for everyone else.

Refs #32830

Co-authored-by: Tim Baek <tim@openwebui.com>
2026-10-24 11:25:36 +09:00
G30 f31bdacae1 i18n: fill missing Russian (ru-RU) translations (#33035) 2026-10-24 11:24:40 +09:00
Classic298 521da58ff3 fix: web search in chat setting shows while web search is off (#32972)
Settings > Interface showed "Web Search in Chat" when web search is off for the instance or the user may not use it, and the choice had no effect. It now shows under the same conditions as the web search button in the chat input, and the settings search skips it otherwise. A saved choice is kept and applies again once web search is available.

Refs #32830
2026-10-24 11:19:39 +09:00
G30 646cd86f1d i18n: fill missing Japanese (ja-JP) translations (#33037) 2026-10-24 11:19:06 +09:00
G30 cd011b2403 i18n: fill missing Tamil (ta-IN) translations (#33036) 2026-10-24 11:18:56 +09:00
G30 7c287f10c9 i18n: fill missing Filipino (Tagalog) (fil-PH) translations (#33033) 2026-10-24 11:17:52 +09:00
G30 8061e8bcf8 i18n: fill missing Bengali (bn-BD) translations (#33034) 2026-10-24 11:17:43 +09:00
G30 d87382f051 i18n: fill missing Spanish (Spain) (es-ES) translations (#33032) 2026-10-24 11:17:32 +09:00
G30 668c97fcd1 i18n: fill missing Indonesian (id-ID) translations (#33031) 2026-10-24 11:17:23 +09:00
G30 70f32638a5 i18n: fill missing Urdu (ur-PK) translations (#33030) 2026-10-24 11:17:16 +09:00
G30 e9a70fa86e i18n: fill missing Hindi (hi-IN) translations (#33029) 2026-10-24 11:12:05 +09:00
G30 7e099ffaad i18n: fill missing Malay (ms-MY) translations (#33038) 2026-10-24 11:08:03 +09:00
G30 e0c6662f87 i18n: fill missing Vietnamese (vi-VN) translations (#33039) 2026-10-24 11:07:53 +09:00
G30 2870705662 i18n: fill missing German (de-DE) translations (#33040) 2026-10-24 11:07:48 +09:00
G30 b48337630b fix(a11y): closing the model picker returns focus to its button when Accessibility Mode is on (#33062) 2026-10-24 11:07:28 +09:00
G30 42daa30e96 fix(a11y): the sidebar's models, folders and chats are lists for screen readers (#33066) 2026-10-24 11:07:01 +09:00
G30 d27c724c8f fix(a11y): Valves and Disconnect OAuth buttons in the Integrations menu are no longer nested in the toggle rows (#33065) 2026-10-24 11:06:46 +09:00
G30 7ed2cb56a0 fix(a11y): the Settings tabs sit in Personal and Admin tab lists for screen readers (#33064) 2026-10-24 11:06:28 +09:00
G30 3772af8821 fix(a11y): pinch zoom works when Accessibility Mode is on (#33061) 2026-10-24 11:06:08 +09:00
Timothy Jaeryang Baek f83f9f40b3 refac 2026-10-24 08:49:32 +09:00
G30 faf16fa383 i18n: fill missing Swedish (sv-SE) translations (#33041) 2026-10-24 06:39:54 +09:00
G30 ac48fb942b i18n: fill missing Ukrainian (uk-UA) translations (#33042) 2026-10-24 06:39:52 +09:00
G30 6a3e160bbd i18n: fill missing translations in 25 languages (#33051) 2026-10-24 06:39:23 +09:00
Classic298 3e9d6cb950 fix: saved direct tool servers still apply after direct integrations is turned off (#32996)
Tool servers and Open Terminal connections a user added in their Integrations settings kept loading and were still used in every chat after the admin turned Direct Integrations off, which only hid the settings tab. They are now ignored while Direct Integrations is off, for admins and users alike, and the server ignores them even when a request still includes them. The saved connections stay in each user's settings and come back as soon as the switch is turned on again.
2026-10-24 06:05:51 +09:00