[PR #3269] [CLOSED] add stt output to input prompt area #4249

Closed
opened 2026-02-22 18:35:27 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3269
Author: @yashschandra
Created: 2/18/2025
Status: Closed

Base: masterHead: 3268-stt-confirmation


📝 Commits (8)

📊 Changes

5 files changed (+75 additions, -21 deletions)

View changed files

📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/index.jsx (+2 -3)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx (+37 -17)
📝 frontend/src/pages/GeneralSettings/AudioPreference/stt.jsx (+21 -1)
📝 server/models/systemSettings.js (+2 -0)
📝 server/utils/helpers/updateENV.js (+13 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #3268

What is in this change?

Stopped sending voice command directly as prompt to LLM provider so that user can get a chance to edit or add to it if there was a long pause while speaking.

Additional Information

Before -

https://github.com/user-attachments/assets/f3504b6f-dfb5-49a6-aa88-8a93784a28c7

Now -

https://github.com/user-attachments/assets/d3260303-7602-4567-b259-b82958244b6a

Additionally fixed a minor typo: endTTSSession -> endSTTSession

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • 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/3269 **Author:** [@yashschandra](https://github.com/yashschandra) **Created:** 2/18/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `3268-stt-confirmation` --- ### 📝 Commits (8) - [`45c44f4`](https://github.com/Mintplex-Labs/anything-llm/commit/45c44f420ddebb4395e7e9c0cf9221efe7f01cca) add stt output to input prompt area - [`fb5d0a2`](https://github.com/Mintplex-Labs/anything-llm/commit/fb5d0a2626cec2522c7cf7f3e1e23922dec25761) Merge branch 'master' into 3268-stt-confirmation - [`476d349`](https://github.com/Mintplex-Labs/anything-llm/commit/476d349d4b199695bd5d2afff8ba76c03f53d64c) Merge branch 'Mintplex-Labs:master' into 3268-stt-confirmation - [`fbe6f1a`](https://github.com/Mintplex-Labs/anything-llm/commit/fbe6f1ad969fd5bc99eb12ea1b8e57e5676e248a) Merge branch 'master' into 3268-stt-confirmation - [`5690c84`](https://github.com/Mintplex-Labs/anything-llm/commit/5690c84b0aade8d967f96641334abd0ab6cf9456) add speech to text autosubmit in settings - [`e7f96f6`](https://github.com/Mintplex-Labs/anything-llm/commit/e7f96f6390f0338c2a041ab35090729a8a81c2a4) merge conflict resolved with master - [`773783d`](https://github.com/Mintplex-Labs/anything-llm/commit/773783d614ea718e9cd77d89eb8d1e7faa1036ff) string value comparison fix - [`9927511`](https://github.com/Mintplex-Labs/anything-llm/commit/9927511e9ba29b28f9ca4d90326ef3cdacae7030) Merge branch 'master' of https://github.com/yashschandra/anything-llm into 3268-stt-confirmation ### 📊 Changes **5 files changed** (+75 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/index.jsx` (+2 -3) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx` (+37 -17) 📝 `frontend/src/pages/GeneralSettings/AudioPreference/stt.jsx` (+21 -1) 📝 `server/models/systemSettings.js` (+2 -0) 📝 `server/utils/helpers/updateENV.js` (+13 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #3268 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> Stopped sending voice command directly as prompt to LLM provider so that user can get a chance to edit or add to it if there was a long pause while speaking. ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> Before - https://github.com/user-attachments/assets/f3504b6f-dfb5-49a6-aa88-8a93784a28c7 Now - https://github.com/user-attachments/assets/d3260303-7602-4567-b259-b82958244b6a Additionally fixed a minor typo: `endTTSSession` -> `endSTTSession` ### 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 - [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-02-22 18:35:27 -05:00
yindo closed this issue 2026-02-22 18:35:27 -05:00
yindo changed title from [PR #3269] add stt output to input prompt area to [PR #3269] [CLOSED] add stt output to input prompt area 2026-06-05 15:17:36 -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#4249