Skip to content

fix error when tts stream invoked without config#1440

Open
oddsix wants to merge 2 commits intomainfrom
fix/1413
Open

fix error when tts stream invoked without config#1440
oddsix wants to merge 2 commits intomainfrom
fix/1413

Conversation

@oddsix
Copy link
Copy Markdown
Contributor

@oddsix oddsix commented Nov 18, 2025

No description provided.

Comment thread lib/tasks/tts-task.js Outdated
@oddsix
Copy link
Copy Markdown
Contributor Author

oddsix commented Nov 19, 2025

@davehorton comments have been incoporated into PR.

vdharashive added a commit to vdharashive/jambonz-feature-server that referenced this pull request Nov 19, 2025
- Add null-safe handling for options parameter using nullish coalescing (??)
- Parse options once and reuse the parsed result
- Handle cases where options or voice_settings might be undefined
- Prevents errors when TTS stream is invoked without configuration

Related to issue jambonz#1413

Co-authored-by: oddsix <ed@erobbins.com>
@davehorton
Copy link
Copy Markdown
Contributor

please rebase

@oddsix
Copy link
Copy Markdown
Contributor Author

oddsix commented Nov 20, 2025

@davehorton done

@vdharashive
Copy link
Copy Markdown
Contributor

@oddsix the main issue of having config verb to use option properties still not working

@vdharashive
Copy link
Copy Markdown
Contributor

@davehorton @oddsix we can merge this , since this will solve the problem of current code, currently we can't use elevenlab due to error , we can continue to work on fixing issue of gather with ttstream

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.

3 participants