mirror of
https://github.com/neural-maze/ava-whatsapp-agent-course.git
synced 2026-04-27 04:25:51 +03:00
[PR #41] [MERGED] ElevenLabs Text to Speech, audio_generator is outdated, I changed to updated docs #43
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ava-whatsapp-agent-course#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/neural-maze/ava-whatsapp-agent-course/pull/41
Author: @Excergic
Created: 9/19/2025
Status: ✅ Merged
Merged: 10/20/2025
Merged by: @MichaelisTrofficus
Base:
main← Head:speech-contribution📝 Commits (1)
561c8caUpdated elevenlabs text to speech code📊 Changes
1 file changed (+7 additions, -6 deletions)
View changed files
📝
src/ai_companion/modules/speech/text_to_speech.py(+7 -6)📄 Description
OLD METHOS NOW API HAS CHANGED
.generate() is no longer supported
New Method Added
audio_generator = self.client.text_to_speech.convert(
voice_id=settings.ELEVENLABS_VOICE_ID,
text=text,
model_id=settings.TTS_MODEL_NAME,
voice_settings = VoiceSettings(
stability=0.5,
similarity_boost=0.5
)
)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.