Skip to content

feat(voice): local transcript cleanup and model access without a subscription - #4000

Open
sanirudh17 wants to merge 1 commit into
goat-si:devfrom
sanirudh17:feat/local-voice-postprocessing
Open

sanirudh17 wants to merge 1 commit into
goat-si:devfrom
sanirudh17:feat/local-voice-postprocessing

Conversation

@sanirudh17

@sanirudh17 sanirudh17 commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Problem

GOAT already carries T3's local Parakeet transcription engine, but dictation still falls back to the remote /api/voice/transcribe endpoint unless a Codex/ChatGPT session is configured. The local path also has no transcript cleanup, and model management requires an explicit voice:manage grant 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

  • Port T3-style post-processing into the local speech path: deterministic filler-word removal and custom-word correction run with no provider, account, or subscription.
  • Add an optional AI cleanup mode that rewrites the transcript through any text-capable provider (including a local OpenAI-compatible endpoint) via a new generateSpeechPostProcessing text-generation operation shared by all providers through fromRunner.
  • Include voice:manage in ordinary client grants so local models can be downloaded and selected without re-pairing.
  • Add a "Transcript cleanup" control to the voice model dialog.
  • Remove the global recording overlay and reword the route label to "Sends audio to this computer".

Verification

  • vp test run apps/server/src/speech/postProcessing.test.ts packages/contracts/src/auth.test.ts — 2 files, 45 tests passed.
  • Typechecks pass for @goat/contracts, @goat/shared, @goat/provider-core, @goat/web, and goat, except six pre-existing errors in apps/server/src/provider/acp/AntigravityProtocol* (files untouched by this change).
  • Pre-commit vp fmt and vp lint passed on all changed files.

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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant