[PR #11319] [CLOSED] feat: Add ability to disable Text to Speech, Speech to Text, and Call features #110019

Closed
opened 2026-05-18 09:30:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/11319
Author: @recrudesce
Created: 3/6/2025
Status: ❌ Closed

Base: main ← Head: call-tts-toggle


📝 Commits (3)

  • c598d09 feat: Add ability to disable Speech to Text and Call features
  • 7c6173f fix: Ensure buttons are enabled/disabled on the following pages: Chat, Channels
  • 38c859c feat: Add ability to enable/disable TTS

📊 Changes

7 files changed (+321 additions, -219 deletions)

View changed files

📝 backend/open_webui/config.py (+17 -0)
📝 backend/open_webui/main.py (+10 -0)
📝 backend/open_webui/routers/audio.py (+19 -0)
📝 src/lib/components/admin/Settings/Audio.svelte (+48 -0)
📝 src/lib/components/channel/MessageInput.svelte (+43 -41)
📝 src/lib/components/chat/MessageInput.svelte (+106 -102)
📝 src/lib/components/chat/Messages/ResponseMessage.svelte (+78 -76)

📄 Description

0.5.20# Pull Request Checklist

Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.

Before submitting, make sure you've checked the following:

  • Target branch: Please verify that the pull request targets the dev branch.
  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests for validating the changes?
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
  • Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:
    • BREAKING CHANGE: Significant changes that may affect compatibility
    • build: Changes that affect the build system or external dependencies
    • ci: Changes to our continuous integration processes or workflows
    • chore: Refactor, cleanup, or other non-functional code changes
    • docs: Documentation update or addition
    • feat: Introduces a new feature or enhancement to the codebase
    • fix: Bug fix or error correction
    • i18n: Internationalization or localization changes
    • perf: Performance improvement
    • refactor: Code restructuring for better maintainability, readability, or scalability
    • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
    • test: Adding missing tests or correcting existing tests
    • WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry

Description

Adds the ability to selectively enable/disable the Text to Speech feature, Speech to Text feature, and the Call feature.

Added

Added 3 toggles to the Audio Settings Page to enable/disable the TTS button on response mesasges, and the STT and Call buttons in the message input box.

Changed

N/A

Deprecated

N/A

Removed

N/A

Fixed

N/A

Security

N/A

Breaking Changes

N/A


Additional Information

N/A

Screenshots or Videos

Added 3 toggles to the Audio Admin Settings Page
image

Read Aloud States:
image
image

Various States for STT and Calls:
image
image
image
image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/11319 **Author:** [@recrudesce](https://github.com/recrudesce) **Created:** 3/6/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `call-tts-toggle` --- ### 📝 Commits (3) - [`c598d09`](https://github.com/open-webui/open-webui/commit/c598d09f1fbd7552fccacebb099d6f350fb1e59e) feat: Add ability to disable Speech to Text and Call features - [`7c6173f`](https://github.com/open-webui/open-webui/commit/7c6173f924874dbe6489497f31ee0567f2e3ee80) fix: Ensure buttons are enabled/disabled on the following pages: Chat, Channels - [`38c859c`](https://github.com/open-webui/open-webui/commit/38c859c4b415c66dc11c35793b106d229273a8d4) feat: Add ability to enable/disable TTS ### 📊 Changes **7 files changed** (+321 additions, -219 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/config.py` (+17 -0) 📝 `backend/open_webui/main.py` (+10 -0) 📝 `backend/open_webui/routers/audio.py` (+19 -0) 📝 `src/lib/components/admin/Settings/Audio.svelte` (+48 -0) 📝 `src/lib/components/channel/MessageInput.svelte` (+43 -41) 📝 `src/lib/components/chat/MessageInput.svelte` (+106 -102) 📝 `src/lib/components/chat/Messages/ResponseMessage.svelte` (+78 -76) </details> ### 📄 Description 0.5.20# Pull Request Checklist ### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request. **Before submitting, make sure you've checked the following:** - [X] **Target branch:** Please verify that the pull request targets the `dev` branch. - [X] **Description:** Provide a concise description of the changes made in this pull request. - [X] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [X] **Testing:** Have you written and run sufficient tests for validating the changes? - [X] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? - [X] **Prefix:** To cleary categorize this pull request, prefix the pull request title, using one of the following: - **BREAKING CHANGE**: Significant changes that may affect compatibility - **build**: Changes that affect the build system or external dependencies - **ci**: Changes to our continuous integration processes or workflows - **chore**: Refactor, cleanup, or other non-functional code changes - **docs**: Documentation update or addition - **feat**: Introduces a new feature or enhancement to the codebase - **fix**: Bug fix or error correction - **i18n**: Internationalization or localization changes - **perf**: Performance improvement - **refactor**: Code restructuring for better maintainability, readability, or scalability - **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.) - **test**: Adding missing tests or correcting existing tests - **WIP**: Work in progress, a temporary label for incomplete or ongoing work # Changelog Entry ### Description Adds the ability to selectively enable/disable the Text to Speech feature, Speech to Text feature, and the Call feature. ### Added Added 3 toggles to the Audio Settings Page to enable/disable the TTS button on response mesasges, and the STT and Call buttons in the message input box. ### Changed N/A ### Deprecated N/A ### Removed N/A ### Fixed N/A ### Security N/A ### Breaking Changes N/A --- ### Additional Information N/A ### Screenshots or Videos Added 3 toggles to the Audio Admin Settings Page ![image](https://github.com/user-attachments/assets/d52df14c-401b-4c5b-9bab-976174eb9cf2) Read Aloud States: ![image](https://github.com/user-attachments/assets/dce38545-241c-45da-b8e7-2ae88331b478) ![image](https://github.com/user-attachments/assets/692bd220-e226-4592-a63f-296fc4cf3917) Various States for STT and Calls: ![image](https://github.com/user-attachments/assets/03e68dfe-cc49-49f6-9dd6-8b01dd9c5c40) ![image](https://github.com/user-attachments/assets/1a6e87e7-361c-49de-97d2-b6dbd871a104) ![image](https://github.com/user-attachments/assets/4321caeb-64c2-4d10-bc18-f14e35f772f8) ![image](https://github.com/user-attachments/assets/715422d8-1ae2-4d7e-b945-1009bea33fea) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-18 09:30:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#110019