Repository navigation
feat(voice): local transcript cleanup and model access without a subscription - #4000
Open
sanirudh17 wants to merge 1 commit into
Open
sanirudh17 wants to merge 1 commit into
sanirudh17 wants to merge 1 commit into
Conversation
Ports T3-style post-processing into GOAT's local speech path: deterministic filler-word and custom-word cleanup runs without a provider, with an optional LLM rewrite through any text-capable provider. Local model management is included in ordinary client grants, and the misleading recording overlay/label are removed. Model: hy4-flash-free; Harness: OpenCode.
This branch has not been deployed
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.
Problem
GOAT already carries T3's local Parakeet transcription engine, but dictation still falls back to the remote
/api/voice/transcribeendpoint unless a Codex/ChatGPT session is configured. The local path also has no transcript cleanup, and model management requires an explicitvoice:managegrant that ordinary pairings do not include. Two UI details were misleading: a floating "Voice recording active / Stop / Cancel" overlay and a "Transcribes on this device" label shown when audio is actually uploaded to the local GOAT server.Fix
generateSpeechPostProcessingtext-generation operation shared by all providers throughfromRunner.voice:managein ordinary client grants so local models can be downloaded and selected without re-pairing.Verification
vp test run apps/server/src/speech/postProcessing.test.ts packages/contracts/src/auth.test.ts— 2 files, 45 tests passed.@goat/contracts,@goat/shared,@goat/provider-core,@goat/web, andgoat, except six pre-existing errors inapps/server/src/provider/acp/AntigravityProtocol*(files untouched by this change).vp fmtandvp lintpassed on all changed files.