Skip to content

Support transient and config assistants with call-out functionality #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

lukatmyshu
Copy link
Contributor

Summary

  • Add support for transient and config assistants
  • Add support for calling out from the CLI

Test plan

  • Test transient assistant functionality
  • Test config assistant functionality
  • Test call-out functionality from CLI

lukatmyshu and others added 6 commits July 25, 2025 15:06
- Request 48kHz audio from Vapi API instead of 16kHz
- Remove naive upsampling/downsampling that caused choppy audio
- Use consistent 48kHz sample rate for both input and output
- Eliminates audio quality issues during voice calls

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Filter out excessive signaling events (model-output, voice-input) to reduce log noise
- Fix choppy audio by using simple sample repetition instead of interpolation
- Add proper Vapi call termination via DELETE /call/{id} API endpoint
- Ensure calls are properly cleaned up on Ctrl-C or normal exit
- Maintain 16kHz sample rate for Vapi communication with proper resampling
@goosewin goosewin self-requested a review July 29, 2025 18:00
@goosewin goosewin added the enhancement New feature or request label Jul 29, 2025
lukatmyshu and others added 5 commits July 29, 2025 18:44
- Add AudioDebugger to capture input/output streams to WAV files
- Add --audio-debug flag to voice command
- Fix all golangci-lint issues (errcheck, gosec, dupl, gofmt, etc.)
- Add debug logging for audio clipping detection
- Identify resampling issues causing audio quality problems

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov-commenter
Copy link

codecov-commenter commented Jul 30, 2025

Codecov Report

❌ Patch coverage is 0.87683% with 2374 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/voice/client.go 0.00% 467 Missing ⚠️
pkg/voice/debug.go 0.00% 294 Missing ⚠️
pkg/voice/audio.go 0.00% 277 Missing ⚠️
cmd/voice.go 7.89% 245 Missing ⚠️
pkg/voice/websocket_jitter.go 0.00% 217 Missing ⚠️
pkg/voice/terminal.go 0.00% 187 Missing ⚠️
pkg/voice/processor.go 0.00% 186 Missing ⚠️
pkg/voice/signaling.go 0.00% 171 Missing ⚠️
pkg/voice/devices.go 0.00% 170 Missing ⚠️
pkg/voice/webrtc_processor.go 0.00% 94 Missing ⚠️
... and 2 more
Files with missing lines Coverage Δ
pkg/config/config.go 0.00% <ø> (ø)
pkg/voice/config.go 0.00% <0.00%> (ø)
pkg/voice/api.go 0.00% <0.00%> (ø)
pkg/voice/webrtc_processor.go 0.00% <0.00%> (ø)
pkg/voice/devices.go 0.00% <0.00%> (ø)
pkg/voice/signaling.go 0.00% <0.00%> (ø)
pkg/voice/processor.go 0.00% <0.00%> (ø)
pkg/voice/terminal.go 0.00% <0.00%> (ø)
pkg/voice/websocket_jitter.go 0.00% <0.00%> (ø)
cmd/voice.go 7.89% <7.89%> (ø)
... and 3 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants