Skip to content
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

feat: voice mode #4642

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

feat: voice mode #4642

wants to merge 32 commits into from

Conversation

phact
Copy link
Collaborator

@phact phact commented Nov 15, 2024

This pull request introduces a new voice assistant feature to the application, including backend API support and frontend integration. The most important changes include adding the voice_mode_router, creating a new WebSocket endpoint for voice interactions, and implementing the frontend components for voice recording and playback.

It also handles the case where the OpenAI key is missing and prompts the user.

Backend Changes:

Frontend Changes:

@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Nov 15, 2024
@dosubot dosubot bot added the enhancement New feature or request label Nov 15, 2024
Copy link

codspeed-hq bot commented Nov 15, 2024

CodSpeed Performance Report

Merging #4642 will degrade performances by 38.94%

Comparing phact:voice_mode (55aad4d) with main (517961d)

Summary

⚡ 1 improvements
❌ 2 regressions
✅ 12 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main phact:voice_mode Change
test_get_and_cache_all_types_dict 1.2 ms 2 ms -38.94%
test_successful_run_with_input_type_any 175.2 ms 261.1 ms -32.92%
test_successful_run_with_input_type_text 333.3 ms 249 ms +33.83%

@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Nov 25, 2024
@phact phact self-assigned this Dec 3, 2024
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Jan 6, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Jan 7, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Jan 7, 2025
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:XXL This PR changes 1000+ lines, ignoring generated files. labels Jan 10, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Jan 10, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Jan 28, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Jan 28, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Jan 28, 2025
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels Jan 31, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant