[PR #7802] [CLOSED] Fix: Openai-edge-tts speaking markdown not plain text #8907

Closed
opened 2025-11-11 18:09:12 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/7802
Author: @ALIENvsROBOT
Created: 12/12/2024
Status: Closed

Base: devHead: dev


📝 Commits (2)

  • 364ae24 Fix: Openai-edge-tts speaking markdown not plain text
  • 58fbd4c Update main.py

📊 Changes

2 files changed (+24 additions, -0 deletions)

View changed files

📝 backend/open_webui/apps/audio/main.py (+23 -0)
📝 backend/requirements.txt (+1 -0)

📄 Description

Openai-edge-tts is always speaking with markdown which results ("hashtag hashtag hashtag... [AI response]") to fix I used mardown2 and re libraries to convert check if the input is markdown or not. if its markdown it will convert to plain text. (needs testing)


🔄 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/7802 **Author:** [@ALIENvsROBOT](https://github.com/ALIENvsROBOT) **Created:** 12/12/2024 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (2) - [`364ae24`](https://github.com/open-webui/open-webui/commit/364ae24745e8bef34010de986519963f8ab579a6) Fix: Openai-edge-tts speaking markdown not plain text - [`58fbd4c`](https://github.com/open-webui/open-webui/commit/58fbd4c1689e91523610314c69bf58219762b31c) Update main.py ### 📊 Changes **2 files changed** (+24 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/apps/audio/main.py` (+23 -0) 📝 `backend/requirements.txt` (+1 -0) </details> ### 📄 Description Openai-edge-tts is always speaking with markdown which results ("hashtag hashtag hashtag... [AI response]") to fix I used mardown2 and re libraries to convert check if the input is markdown or not. if its markdown it will convert to plain text. (needs testing) --- <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 2025-11-11 18:09:12 -06: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#8907