AutoGPT
AutoGPT copied to clipboard
400
Duplicates
- [X] I have searched the existing issues
Steps to reproduce 🕹
python -m autogpt --speak --gpt3only
Current behavior 😯
C:\Auto-GPT-0.2.0>python -m autogpt --speak --gpt3only Warning: The file 'auto-gpt.json' does not exist. Local memory would not be saved to a file. Speak Mode: ENABLED GPT3.5 Only Mode: ENABLED Welcome to Auto-GPT! Enter the name of your AI and its role below. Entering nothing will load defaults. Name your AI: For example, 'Entrepreneur-GPT' AI Name: Request failed with status code: 400 Response content: b'{"detail":{"status":"invalid_uid","message":"An invalid ID has been received: 'your-voice-id-1'. Make sure to provide a correct one."}}'
Expected behavior 🤔
C:\Auto-GPT-0.2.0>python -m autogpt --speak --gpt3only Warning: The file 'auto-gpt.json' does not exist. Local memory would not be saved to a file. Speak Mode: ENABLED GPT3.5 Only Mode: ENABLED Welcome to Auto-GPT! Enter the name of your AI and its role below. Entering nothing will load defaults. Name your AI: For example, 'Entrepreneur-GPT' AI Name: Request failed with status code: 400 Response content: b'{"detail":{"status":"invalid_uid","message":"An invalid ID has been received: 'your-voice-id-1'. Make sure to provide a correct one."}}'
Your prompt 📝
python -m autogpt --speak --gpt3only
read the README file to setup correctly your voice ELEVENLABS variables in .env file
or avoid using --speak parameter
here you can try using this ID which will use the premade "Adam" voice ELEVENLABS_VOICE_1_ID=pNInz6obpgDQGcFmaJgB or here is the ID for "Rachel" ELEVENLABS_VOICE_1_ID=21m00Tcm4TlvDq8ikWAM
Today, before the last update I was able to use it like this:
ELEVENLABS_API_KEY= ELEVENLABS_VOICE_1_ID=your-voice-id-1 ELEVENLABS_VOICE_2_ID=your-voice-id-2
Now if I let this like this on 0.2.1 it gets the 400 error. If I write "ELEVENLABS_VOICE_1_ID=pNInz6obpgDQGcFmaJgB" or "ELEVENLABS_VOICE_1_ID=21m00Tcm4TlvDq8ikWAM" I get a 401 error.
Same problem.
python -m autogpt --gpt3only
you need the API key or dont use --speak
@hubertdungen
把 ELEVENLABS_API_KEY、ELEVENLABS_VOICE_1_ID、ELEVENLABS_VOICE_2_ID注释即可,我是注释了之后再次运行就成功了

This might be the issue: https://github.com/Significant-Gravitas/Auto-GPT/pull/2788/files
@hubertdungen 把 ELEVENLABS_API_KEY、ELEVENLABS_VOICE_1_ID、ELEVENLABS_VOICE_2_ID注释即可,我是注释了之后再次运行就成功了
.env 文件里,默认就是注释的,填写了1的ID会出现401要求提供key
Issue unclear. Revise and reopen