Skip to content

refactor(ai): take the speech pace and voice from one place - #238

Merged
arthware-dev merged 1 commit into
mainfrom
fix/ai-speech-pace
Oct 16, 2026
Merged

arthware-dev merged 1 commit into
mainfrom
fix/ai-speech-pace

Conversation

@arthware-dev

Copy link
Copy Markdown
Contributor

Summary

  • ./stack ai hello had its own copy of the voice rule, the 0.8 pace and the speech request, so ./stack ai say sounded the same only by coincidence. The pace is now one named value in the shared speech helper, the one chosen by ear for the welcome message, and hello, intro and say use it together with the shared voice rule.
  • A test asks the speech server what say and hello requested and expects the same voice and pace from both. No behaviour change.

`stack ai hello` carried its own copy of the voice rule, the 0.8 pace
and the request to the speech server, and `stack ai say` matched it
only because the shared helper defaulted to the same number. The pace
is now one named value in the speech helper, chosen by ear for the
welcome message, and `hello`, `intro` and `say` all use it and the
shared voice rule.

No behaviour change.
@arthware-dev
arthware-dev merged commit 1f086bc into main Oct 16, 2026
1 check passed
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.

1 participant