[PR #4216] [MERGED] STT append spoken text #4558

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4216
Author: @timothycarambat
Created: 7/30/2025
Status: Merged
Merged: 7/31/2025
Merged by: @timothycarambat

Base: masterHead: 4210-stt-stream-append


📝 Commits (9)

  • 5acb5ea STT append spoken text
  • 9e3fa8f remove default args from calls
  • c7fd5ea fix bug where message and input were out of sync
  • dce9644 merge
  • 27def8d update diffs
  • 311e4f2 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 4210-stt-stream-append
  • 5f6aa69 Merge branch 'master' into 4210-stt-stream-append
  • 464e139 Merge branch 'master' into 4210-stt-stream-append
  • 6a9ea72 Merge branch 'master' into 4210-stt-stream-append

📊 Changes

3 files changed (+60 additions, -15 deletions)

View changed files

📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/index.jsx (+20 -5)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx (+6 -2)
📝 frontend/src/components/WorkspaceChat/ChatContainer/index.jsx (+34 -8)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #4210

What is in this change?

  • Adds append functionality to the STT action to allow the user to both type and speak into the input.
  • Does not support middle-append functionality. Text will always go to the end future update

Additional Information

  • Refactors sendCommand to non-positional arguments
  • preserves original functionality for all other affected endpoints - default writeMode is replace
  • allows autoSubmit to handle appending modes
  • Fixes bug with tooltip hovering due to bad tooltip data-ref
  • Removes calls to sendCommand which assume the defaults.

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/4216 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 7/30/2025 **Status:** ✅ Merged **Merged:** 7/31/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `4210-stt-stream-append` --- ### 📝 Commits (9) - [`5acb5ea`](https://github.com/Mintplex-Labs/anything-llm/commit/5acb5ea5619f994f78009257577c3015826568a6) STT append spoken text - [`9e3fa8f`](https://github.com/Mintplex-Labs/anything-llm/commit/9e3fa8fbbd2566f84301606bf5634ff03c935d36) remove default args from calls - [`c7fd5ea`](https://github.com/Mintplex-Labs/anything-llm/commit/c7fd5eaab569ea5dc4fafd157982dbf12f5012d8) fix bug where message and input were out of sync - [`dce9644`](https://github.com/Mintplex-Labs/anything-llm/commit/dce96440ebdc9b01e079a26b57aaa881091a8170) merge - [`27def8d`](https://github.com/Mintplex-Labs/anything-llm/commit/27def8dce2f18cf1dc6862b3b003151773e2b87d) update diffs - [`311e4f2`](https://github.com/Mintplex-Labs/anything-llm/commit/311e4f2f4346946b0d7cea0e7ad1064dc8a9a1e1) Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 4210-stt-stream-append - [`5f6aa69`](https://github.com/Mintplex-Labs/anything-llm/commit/5f6aa69a9b20c67fa1044959097cb939d95e920d) Merge branch 'master' into 4210-stt-stream-append - [`464e139`](https://github.com/Mintplex-Labs/anything-llm/commit/464e139bcf0124d8b9409f469c19b5961ce4934c) Merge branch 'master' into 4210-stt-stream-append - [`6a9ea72`](https://github.com/Mintplex-Labs/anything-llm/commit/6a9ea72ea4cf7075a76802e4a4dbdd2a3a50197e) Merge branch 'master' into 4210-stt-stream-append ### 📊 Changes **3 files changed** (+60 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/index.jsx` (+20 -5) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx` (+6 -2) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/index.jsx` (+34 -8) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [x] 🐛 fix - [x] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #4210 ### What is in this change? - Adds append functionality to the STT action to allow the user to both type and speak into the input. - Does **not support** middle-append functionality. Text will always go to the end _future update_ <!-- Describe the changes in this PR that are impactful to the repo. --> ### Additional Information - ~Refactors `sendCommand` to non-positional arguments~ - preserves original functionality for all other affected endpoints - default writeMode is `replace` - allows autoSubmit to handle appending modes - Fixes bug with tooltip hovering due to bad tooltip data-ref - ~Removes calls to `sendCommand` which assume the defaults.~ <!-- Add any other context about the Pull Request here that was not captured above. --> ### 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:36:04 -05:00
yindo closed this issue 2026-02-22 18:36:04 -05:00
yindo changed title from [PR #4216] STT append spoken text to [PR #4216] [MERGED] STT append spoken text 2026-06-05 15:19:11 -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#4558