Files
open-webui/src/lib/components/chat
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
..
2026-09-03 20:22:32 -04:00
2026-10-21 12:41:25 +09:00
2026-09-04 17:39:34 -04:00
2026-10-24 08:49:32 +09:00
2026-10-10 23:50:29 +04:00
2026-08-11 01:25:20 -06:00
2026-08-11 01:25:20 -06:00
2026-10-24 12:32:06 +09:00
2026-10-16 02:46:20 +04:00
2026-10-25 05:47:26 +09:00
2026-10-21 09:23:03 +09:00
2026-10-10 22:59:27 +04:00
2026-09-18 10:51:00 -04:00
2026-09-13 23:33:22 -04:00
2024-10-23 20:18:51 -07:00
2026-07-14 01:39:40 -04:00
2026-10-09 17:51:14 +04:00
2026-10-05 10:56:06 +04:00
2026-09-18 11:30:15 -04:00