-
Notifications
You must be signed in to change notification settings - Fork 44.5k
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
Make MacOS TTS voices configurable. #3566
Make MacOS TTS voices configurable. #3566
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This is a mass message from the AutoGPT core team. For more details (and for infor on joining our Discord), please refer to: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should also modify the .env.template file to accommodate these new variables.
You changed AutoGPT's behaviour. The cassettes have been updated and will be merged to the submodule when this Pull Request gets merged. |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #3566 +/- ##
==========================================
+ Coverage 69.58% 69.69% +0.11%
==========================================
Files 72 72
Lines 3551 3554 +3
Branches 569 569
==========================================
+ Hits 2471 2477 +6
+ Misses 889 885 -4
- Partials 191 192 +1
☔ View full report in Codecov by Sentry. |
✅ Deploy Preview for auto-gpt-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
You changed AutoGPT's behaviour. The cassettes have been updated and will be merged to the submodule when this Pull Request gets merged. |
Background
As a MacOS user, I want to be able to choose my preferred voices easily. Making the voices configurable in .env makes it easy to choose voices without have to edit code.
Changes
Added support for 3 new config variables, one for each voice option. If no voice is specified in .env, Auto-GPT will default to Allison, Ava and Samantha, which are all voices that are commonly preinstalled with MacOS, as far as I know. If the default voice specified by Auto-GPT is not installed, MacOS should default to whatever voice is set in System Settings.
Documentation
The new code is easy to understand without documentation.
Test Plan
I ran through several different scenarios with speech enabled. Note that I did not test every possible voice.
PR Quality Checklist