Repository navigation
feat: support 60db speech-to-text for voice commands - #301
Open
uditgoenka wants to merge 1 commit into
Open
uditgoenka wants to merge 1 commit into
uditgoenka wants to merge 1 commit into
Conversation
Reuse the Whisper recording flow with independent transcription credentials and provider-specific multipart fields. Confidence: high Scope-risk: narrow Tested: Headless Whisper flow checks and real curl local multipart fixture Not-tested: Live 60db transcription and physical microphone recording
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
60db provides a hosted speech-to-text API. This change adds it as an optional provider for the
GpWhisper*commands.Configure
whisper = { provider = "60db", language = "auto" }andSIXTYDB_API_KEY, or use the existing secret resolver throughwhisper.secret. OpenAI remains the default.Recording, SoX processing, secret resolution, and task management are reused. The adapter passes request arguments directly to curl, rejects empty or oversized recordings, and handles HTTP/JSON failures without inserting error bodies into the buffer. README setup includes the audio-upload behavior. No plugin dependencies are added.
Validation: headless Neovim checks passed for routing, multipart arguments, response handling, size limits, and cancellation. A real curl/local HTTP fixture checked authentication and quoted/spaced filenames. Whitespace checks passed.
Live transcription and physical microphone/SoX recording were not tested.