feat: add missing ElevenLabs models and voices#59
Conversation
- Add four new ElevenLabs models: - eleven_v3 - eleven_turbo_v2_5 - eleven_flash_v2 - eleven_multilingual_v1 - Add Spuds voice (Grandpa Spuds Oxley) - Bump speech-generation version to 0.2.9 - Bump celeste-ai version to 0.2.14
Code Review: PR #59 - Add missing ElevenLabs models and voicesSummaryThis PR adds four new ElevenLabs speech generation models and one new voice. The changes are clean, well-structured, and follow existing patterns in the codebase. ✅ Code Quality & Best PracticesExcellent:
Observations:
🔍 Potential IssuesModel Order (Minor)The models list is not in a clear ordering pattern. Consider organizing by:
Current order appears somewhat mixed. For maintainability, I'd suggest ordering newest to oldest within each model family: This helps developers quickly find the latest models to use. Verify Model IDsEnsure that model IDs match ElevenLabs' official documentation:
These should be confirmed against the ElevenLabs API documentation. Voice ID Verification
⚡ Performance ConsiderationsNo concerns:
🔒 Security ConcernsNo security issues identified:
🧪 Test CoverageNeeds attention: The existing test file Recommendations:
Example test to add: @pytest.mark.parametrize(
("model", "voice"),
[
("eleven_v3", "Spuds"),
("eleven_turbo_v2_5", "Laura"),
("eleven_flash_v2", "Adam"),
("eleven_multilingual_v1", "Bella"),
],
)
@pytest.mark.integration
@pytest.mark.asyncio
async def test_new_elevenlabs_models(model: str, voice: str) -> None:
"""Test newly added ElevenLabs models."""
# ... test implementation📋 Additional Recommendations
VerdictRecommendation: Approve with minor suggestions The code is solid and follows best practices. The main action items are:
Great work on maintaining consistency with the existing codebase! 🎉 Review generated by Claude Code |
Changes
New Models
Added four missing ElevenLabs models:
eleven_v3- Eleven v3 modeleleven_turbo_v2_5- Eleven Turbo v2.5 modeleleven_flash_v2- Eleven Flash v2 modeleleven_multilingual_v1- Eleven Multilingual v1 modelAll models support:
New Voice
Spudsvoice (Grandpa Spuds Oxley) - ID:NOpBlnGInO9m6vDvFkFCVersion Bumps
celeste-speech-generation: 0.2.8 → 0.2.9celeste-ai: 0.2.13 → 0.2.14pyproject.tomlTesting