Skip to content

voice-in-groq: arecord → Groq whisper-large-v3 voice-in channel#75

Open
webdevtodayjason wants to merge 1 commit intocodex/ops-team-bootstrapfrom
codex/voice-in-groq
Open

voice-in-groq: arecord → Groq whisper-large-v3 voice-in channel#75
webdevtodayjason wants to merge 1 commit intocodex/ops-team-bootstrapfrom
codex/voice-in-groq

Conversation

@webdevtodayjason
Copy link
Copy Markdown
Contributor

Summary

  • Adds src/channels/voice-in.ts: createVoiceInChannel with start / stop / abort plus VoiceInError.
  • start() spawns arecord (injectable) and buffers PCM in memory.
  • stop() SIGTERMs arecord, uploads buffered WAV multipart to https://api.groq.com/openai/v1/audio/transcriptions with model=whisper-large-v3, language=en, response_format=json, publishes a bus prompt message, returns transcript.
  • abort() kills arecord without upload.
  • No temp files, Node built-ins only, strict TS (no any).

Validation

  • pnpm check → exit 0
  • pnpm test tests/channels/voice-in.test.ts → 4/4 passing

Task: 021 engineer-router. Contract: ops/contracts/engineer-router.contract.md.

Task 021 engineer-router. Adds createVoiceInChannel with start/stop/abort
and VoiceInError. Uploads buffered PCM as multipart/form-data to
https://api.groq.com/openai/v1/audio/transcriptions and publishes the
transcript as a bus prompt message to agentId (default "router").

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 12, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d3f71d63-95e7-436e-ab4a-76493950456d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/voice-in-groq

Comment @coderabbitai help to get the list of available commands and usage tips.

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