Skip to content

fix(Tts): add input validation and error handling in synthesize()#239

Open
tatenda-source wants to merge 1 commit intoFujiwaraChoki:mainfrom
tatenda-source:fix/tts-error-handling
Open

fix(Tts): add input validation and error handling in synthesize()#239
tatenda-source wants to merge 1 commit intoFujiwaraChoki:mainfrom
tatenda-source:fix/tts-error-handling

Conversation

@tatenda-source
Copy link
Copy Markdown

Summary

  • Validate text input is not empty before synthesis
  • Wrap model.generate() and sf.write() with descriptive error handling

Closes #231

Test plan

  • Verify TTS works with valid text
  • Verify clear error on empty text input

🤖 Generated with Claude Code

Closes FujiwaraChoki#231

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(Tts): missing error handling in synthesize()

1 participant