[PR #5610] [MERGED] Lemonade provider for STT #5497

Closed
opened 2026-06-05 15:21:32 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5610
Author: @shatfield4
Created: 5/11/2026
Status: Merged
Merged: 6/1/2026
Merged by: @timothycarambat

Base: feat/stt-server-foundation-openaiHead: feat/stt-lemonade-provider


📝 Commits (10+)

  • af85b87 add lemonade provider for speech-to-text
  • 56b5928 Merge branch 'feat/stt-server-foundation-openai' into feat/stt-lemonade-provider
  • b27c18e add lemonade STT entries to .env.example
  • 1cf7a47 convert lemonade STT audio to wav via collector
  • d0d7f85 clarify lemonade STT api key reuse in env examples
  • adf3d91 extract STT wav conversion into reusable helper
  • 6a9d2f9 use async fs in collector convertAudioToWav
  • 3a9200c return result object from convertAudioToWav on empty filename
  • 1c599fe rebase upstream
  • 812339d apply filtering

📊 Changes

14 files changed (+471 additions, -2 deletions)

View changed files

collector/convertAudioToWav/index.js (+54 -0)
📝 collector/index.js (+26 -0)
📝 docker/.env.example (+5 -0)
frontend/src/components/SpeechToText/LemonadeOptions/index.jsx (+207 -0)
📝 frontend/src/pages/GeneralSettings/AudioPreference/stt.jsx (+10 -0)
📝 server/.env.example (+5 -0)
📝 server/models/systemSettings.js (+4 -0)
📝 server/utils/AiProviders/lemonade/index.js (+3 -1)
server/utils/SpeechToText/helpers.js (+36 -0)
📝 server/utils/SpeechToText/index.js (+3 -0)
server/utils/SpeechToText/lemonade/index.js (+54 -0)
📝 server/utils/collectorApi/index.js (+38 -0)
📝 server/utils/helpers/customModels.js (+13 -0)
📝 server/utils/helpers/updateENV.js (+13 -1)

📄 Description

Pull Request Type

  • feat (New feature)
  • 🐛 fix (Bug fix)
  • ♻️ refactor (Code refactoring without changing behavior)
  • 💄 style (UI style changes)
  • 🔨 chore (Build, CI, maintenance)
  • 📝 docs (Documentation updates)

Relevant Issues

connect #5609

Description

  • Adds Lemonade STT provider

Visuals (if applicable)

Additional Information

  • I don't have a machine that supports whisper/TTS models (Lemonade on Apple silicon only support llamacpp models). @angelplusultra please test this to ensure it works properly

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated (if applicable)
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/Mintplex-Labs/anything-llm/pull/5610 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 5/11/2026 **Status:** ✅ Merged **Merged:** 6/1/2026 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `feat/stt-server-foundation-openai` ← **Head:** `feat/stt-lemonade-provider` --- ### 📝 Commits (10+) - [`af85b87`](https://github.com/Mintplex-Labs/anything-llm/commit/af85b87b4f15b02992058c417976619843b343f1) add lemonade provider for speech-to-text - [`56b5928`](https://github.com/Mintplex-Labs/anything-llm/commit/56b5928c6e9b7ac8142467d7f79277eedb5a966f) Merge branch 'feat/stt-server-foundation-openai' into feat/stt-lemonade-provider - [`b27c18e`](https://github.com/Mintplex-Labs/anything-llm/commit/b27c18eb86f21d4c17c51ca70f999a41fcdfffe3) add lemonade STT entries to .env.example - [`1cf7a47`](https://github.com/Mintplex-Labs/anything-llm/commit/1cf7a47888b1aabebb8059b7e85fcefa12089049) convert lemonade STT audio to wav via collector - [`d0d7f85`](https://github.com/Mintplex-Labs/anything-llm/commit/d0d7f85a5a615918dda5f7f1efd348ec0da4ced3) clarify lemonade STT api key reuse in env examples - [`adf3d91`](https://github.com/Mintplex-Labs/anything-llm/commit/adf3d91e83fc6437599a57699e8b49f0557217a4) extract STT wav conversion into reusable helper - [`6a9d2f9`](https://github.com/Mintplex-Labs/anything-llm/commit/6a9d2f97a7b8f3e6f0245423bf70b95a98bf0737) use async fs in collector convertAudioToWav - [`3a9200c`](https://github.com/Mintplex-Labs/anything-llm/commit/3a9200c8596b10066b97b4e375dcb550991005c2) return result object from convertAudioToWav on empty filename - [`1c599fe`](https://github.com/Mintplex-Labs/anything-llm/commit/1c599fe655c802d9e14c7ffe82bc9d3b4db5bc79) rebase upstream - [`812339d`](https://github.com/Mintplex-Labs/anything-llm/commit/812339d4a31d02bb59cdbd5f55ab11cd9e3ebafa) apply filtering ### 📊 Changes **14 files changed** (+471 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `collector/convertAudioToWav/index.js` (+54 -0) 📝 `collector/index.js` (+26 -0) 📝 `docker/.env.example` (+5 -0) ➕ `frontend/src/components/SpeechToText/LemonadeOptions/index.jsx` (+207 -0) 📝 `frontend/src/pages/GeneralSettings/AudioPreference/stt.jsx` (+10 -0) 📝 `server/.env.example` (+5 -0) 📝 `server/models/systemSettings.js` (+4 -0) 📝 `server/utils/AiProviders/lemonade/index.js` (+3 -1) ➕ `server/utils/SpeechToText/helpers.js` (+36 -0) 📝 `server/utils/SpeechToText/index.js` (+3 -0) ➕ `server/utils/SpeechToText/lemonade/index.js` (+54 -0) 📝 `server/utils/collectorApi/index.js` (+38 -0) 📝 `server/utils/helpers/customModels.js` (+13 -0) 📝 `server/utils/helpers/updateENV.js` (+13 -1) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> connect #5609 ### Description <!-- Describe the changes in this PR that are impactful to the repo. What problem does it solve? --> - Adds Lemonade STT provider ### Visuals (if applicable) <!-- Add screenshots or screen recordings to demonstrate the changes, especially for UI updates. --> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> - I don't have a machine that supports whisper/TTS models (Lemonade on Apple silicon only support llamacpp models). @angelplusultra please test this to ensure it works properly ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated (if applicable) - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 15:21:32 -04:00
yindo closed this issue 2026-06-05 15:21:32 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5497