Commit Graph
7914 Commits
Author SHA1 Message Date
Classic298 2cf014c7e9 fix: built-in tool toggles show while their feature is off (#32964)
* fix: built-in tool toggles show while their feature is off

The model editor listed the Memory, Notes, Channels, Notifications, Web Search, Image Generation, Code Interpreter, Automations, Calendar and Sub-agents built-in tools even when the admin had turned that feature off for the whole instance, where those toggles do nothing. Each of them is now hidden while its feature is off, and the choices saved on a model are kept for when it is turned back on. The server now also reports whether sub-agents are on, and saving the Sub-agents settings updates the editor without a reload.

Refs #32830

* refac: name the feature switch map like the rest of the codebase

Uses the same name the model capabilities change uses for its matching map.

* refac: keep each tool's feature switch next to its label

Each built-in tool now carries its feature switch alongside its label and description, so the list is defined in one place.
2026-10-25 07:46:22 +09:00
Timothy Jaeryang Baek 1407f83cfc refac 2026-10-25 07:39:02 +09:00
Classic298 758e4f6cc3 fix: built-in tools show while the model's matching capability is off (#32965)
* fix: built-in tools show while the model's matching capability is off

The Files built-in tool showed in the model editor although a model only gets it while File Upload is on and File Context is off, and File Context is on by default. The Memory, Web Search, Image Generation and Code Interpreter tools also showed while the same capability was off on that model. These tools now appear and disappear as the model's capabilities are switched, and the saved tool choices are kept for when the capability is turned back on.

Refs #32830

* refac: filter built-in tools by their capability directly

Same behaviour, with the per-tool capability list folded into the filter.

* fix: treat unset file capabilities as on when showing the Files tool

Matches how the server decides whether a model gets the Files tool.
2026-10-25 07:35:35 +09:00
Classic298 d2e88ba37a fix: Web Search Query Generation setting shows while web search is off (#32986)
Settings > Interface showed the Web Search Query Generation switch even with web search turned off, where it has no effect. It now only shows while web search is on, and its stored value is kept.

Refs #32830
2026-10-25 07:35:18 +09:00
Classic298 b02ff54459 fix: Call button shows while speech-to-text is unavailable (#32970)
* fix: Call button shows while speech-to-text is unavailable

Unless realtime voice is set up, a call needs the server to turn the user's speech into text. The Call button still showed when the speech-to-text engine is "Web API", where clicking it only answered "Call feature is not supported when using Web STT engine", and to users without the speech-to-text permission, where the call opened but nothing they said was transcribed. The button now shows only when a call can work: realtime voice is on, a call is already running, or the engine is not "Web API" and the user has the speech-to-text permission.

Refs #32830

* fix: keyboard shortcut also needs the speech-to-text permission for calls

The call shortcut and call links now follow the same speech-to-text rule as the Call button.

* refac: keep the whole Call button condition in one place

Also drops the Web API speech-to-text message from the Call button, since the button no longer shows for that engine.

* refac: keep the call permission check unchanged in the call shortcut

The speech-to-text rule for the call shortcut is now its own check after the existing call permission check, which stays as it was.
2026-10-25 07:32:45 +09:00
Classic298 1d6d805587 fix: image engine settings show while image generation is off (#32985)
* fix: image engine settings show while image generation is off

Settings > Images showed the image engine, its credentials and the whole image edit section even with image generation turned off. They now only show while the Image Generation switch is on, and flipping it on shows them right away, so everything can be set up before saving. Stored engine settings and keys are kept.

Refs #32830

* fix: saving image settings without a required key turns image generation off

Saving Settings > Images with Image Generation on but a required URL or API key empty showed an "is required" error and flipped the switch back off, which now also hid the field that needed filling. The switch now stays on with the error, so the missing value can be filled in and saved right away. Nothing is saved until then.

Refs #32830

* refac: always require the Gemini API key while image generation is on

The key field only shows while image generation is on, so it is simply required now.

* refac: drop the stray blank lines left in the image settings save checks

Each missing-setting check now shows its error and stops right away, with no leftover gap from the removed lines.
2026-10-25 07:32:26 +09:00
Classic298 0c684208bb fix: files selected together for a knowledge base only appear one at a time (#32992)
* fix: files selected together for a knowledge base only appear one at a time

Selecting or dropping several files into a knowledge base showed a row for the first file only. The others got no row at all until the one before them had finished processing, which with slow text extraction can be many minutes per file, so they looked lost. Every selected file now shows up as "Uploading" straight away, in the order they will be uploaded, and keeps its row until it has been added to the knowledge base. Each file still waits for the previous one to finish processing, as before.

* refac: give the upload list a type

The list of files waiting to upload now carries the same type as the rows it holds.
2026-10-25 07:23:46 +09:00
Classic298 499b83fa8d fix: imported note shows its text twice when two people open it at the same time (#33004)
A note imported from a .md or .txt file on the Notes page and not edited since showed all of its text twice when two people opened it at the same time, and the doubled text was then saved into the note. The shared editing session is now the only place that loads the text of such a note, the same as for notes that were already edited, so it opens once for everyone. Like an edited note, it now needs the live connection to show its text.

Fixes #33002
2026-10-25 07:23:10 +09:00
Classic298 e11c1bb38c fix: web search engine settings show while web search is off (#32984)
* fix: web search engine settings show while web search is off

Settings > Web Search showed the search engine picker and all engine credentials even with web search turned off. They now only show while the Web Search switch is on, and flipping it on shows them right away, so the engine can be set up before saving. An API key the web loader shares with the hidden engine now shows in the loader section instead. Stored engine settings and keys are kept.

Refs #32830

* fix: web search confirmation and Bypass Web Loader show while web search is off

The Web Search Confirmation switch, its text and the Bypass Web Loader switch also showed with web search turned off, although they only act on web searches. They now hide together with the engine settings, and their stored values are kept. Bypass Embedding and Retrieval and Trust Proxy Environment stay visible, since they also apply to web pages attached to a chat.

Refs #32830

* refac: mark web search fields as plainly required

These fields only show while web search is on, so tying their required flag to the toggle no longer does anything.

* refac: write the web search checks inline

Same behaviour, the conditions now sit directly where they are used.
2026-10-25 07:21:11 +09:00
Classic298 f36ed91371 fix: /skills:create shows for models that cannot create skills (#32971)
* fix: /skills:create shows for models that cannot create skills

"/skills:create" showed when the model had the "Builtin Tools" capability or its "Skills" built-in tool turned off, and the model then answered that skill creation is disabled. The command now shows only when every selected model has both turned on.

Refs #32830

* refac: keep the skill creation check with the other model capability checks

Moves the check next to the other per-model capability checks so it reads like them.

* refac: add type annotations to the skill creation check

Restores the type on the new option and types the new check.
2026-10-25 07:20:41 +09:00
Classic298 c4aac6152b fix: regenerate menu setting shows while regenerating is not allowed (#32974)
Settings > Interface showed "Regenerate Menu" to users without permission to regenerate responses. Those users have no regenerate button, so the setting did nothing. It now only shows to users who can regenerate, and the settings search skips it for everyone else.

Refs #32830
2026-10-25 06:53:01 +09:00
Classic298 11081b1567 fix: terminal settings show while no terminal is available (#32981)
Settings > Interface showed the terminal file display, show files on terminal select and terminal preview settings to users who have no terminal to use, which is the default. They now show once the user can reach a terminal, either one the admin set up or one of their own, the same way the chat input decides whether to offer the terminal picker. In the admin default interface settings they show whenever the instance offers terminals.

Refs #32830
2026-10-25 06:52:48 +09:00
Classic298 98f23b17a5 fix: model capability toggles show while their feature is off (#32963)
* fix: model capability toggles show while their feature is off

In the model editor and the admin model defaults, the Web Search, Image Generation, Code Interpreter and Memory capabilities and the matching Default Features showed even when the admin had turned that feature off for the whole instance, so switching them did nothing. They are now hidden while the feature is off. Values already saved on a model are kept, so turning the feature back on restores each model's settings.

Refs #32830

* refac: use the codebase's name for instance feature switches

Renames the new feature lookup to match how the rest of the frontend refers to instance features.

* refac: keep each feature switch next to its capability

Reads the instance feature switch from the existing capability list instead of a separate map, with no change in behaviour.
2026-10-25 06:52:18 +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
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
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
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
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 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
Timothy Jaeryang Baek f83f9f40b3 refac 2026-10-24 08:49:32 +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
G30 fa629e5ca5 fix: only one model's More menu stays open in the model picker (#33020) 2026-10-24 06:01:17 +09:00
G30 2f8c20eec6 fix(a11y): sidebar section titles and chat date groups are headings (#33027) 2026-10-24 04:59:49 +09:00
Timothy Jaeryang Baek 2262073146 refac 2026-10-24 04:50:12 +09:00
Timothy Jaeryang Baek 72d86c6b13 refac 2026-10-23 11:05:59 +09:00
Timothy Jaeryang Baek f625c37cce refac 2026-10-23 11:05:01 +09:00
Classic298 ac12b04aad fix: access button shows while sharing is not allowed (#32979)
The Access button in the model, prompt, tool, knowledge, skill and note editors, the Access entry in their list menus and the Access button in folder settings showed to users without the matching sharing permission. The dialog then had nothing they could change. The button and the menu entry now only show to users who may share that kind of item, and admins see them as before.

Refs #32830
2026-10-23 10:58:17 +09:00
Classic298 35ee76cebb fix: multi-factor authentication section shows while MFA is off (#32980)
Every user saw a "Multi-factor authentication" section under Account, reading "Authenticator not configured" and "Managed by your administrator.", although MFA is off by default and there is nothing to set up. The section now only shows when MFA applies to the signed-in user, so everyone who has to use an authenticator still sees it.

Refs #32830
2026-10-23 10:58:07 +09:00
Classic298 b17ee7d839 fix: chat menu Copy shows while chat export is not allowed (#32960)
* fix: chat menu Copy shows while chat export is not allowed

Users without the chat export permission get no Download entry in the chat menu, but Copy was still there and copied the whole chat as text, the same as the plain text download. Copy is now hidden as well while chat export is not allowed.

Refs #32830

* fix: chat menu opens empty once Copy is hidden

With Copy hidden for users without the chat export permission, a temporary chat with no artifacts that is not scrolled down had nothing left in its chat menu, so the button opened an empty dropdown. The button is now hidden in that case and shows again as soon as the menu has an entry.

Refs #32830
2026-10-23 10:58:00 +09:00
Timothy Jaeryang Baek 82d6f230b4 refac 2026-10-23 10:57:12 +09:00
Classic298 11406c1654 fix: audio settings tab shows while speech and calls are not allowed (#32977)
The Audio settings tab showed to users who may use neither speech-to-text, text-to-speech nor calls, so none of its settings applied to them. The tab now shows as soon as one of the three is allowed.

Refs #32830
2026-10-23 10:53:13 +09:00
Classic298 fbad6fb252 fix: compress images in channels setting shows while channels are off (#32976)
Settings > Interface offered "Compress Images in Channels" when channels are turned off for the instance or the user may not use them. It now only shows when the user can use channels, the same way the sidebar decides whether to list them, and the settings search skips it otherwise. A saved choice is kept.

Refs #32830
2026-10-23 10:50:54 +09:00