fix(tts): honor explicit directive providers

This commit is contained in:
Peter Steinberger
2026-04-26 04:14:48 +01:00
parent 969a3757b9
commit a91baa16de
5 changed files with 142 additions and 10 deletions

View File

@@ -685,6 +685,10 @@ channel sees them, even when a directive is split across adjacent blocks. Final
mode still parses the accumulated raw reply for TTS synthesis.
`provider=...` directives are ignored unless `modelOverrides.allowProvider: true`.
When a reply declares `provider=...`, the other keys in that directive are
parsed only by that provider. Unsupported keys are stripped from visible text
and reported as TTS directive warnings instead of being routed to another
provider.
Example reply payload: