Skip to content

Commit 60da376

Browse files
shanselmanCopilot
andcommitted
Preserve configured TTS fallback for chat playback
Leave chat playback provider unset so TextToSpeechService can distinguish configured/default playback from explicit provider requests and apply the new Windows fallback when the configured provider is unavailable. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0521f9b commit 60da376

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/OpenClaw.Tray.WinUI/Chat/OpenClawChatCoordinator.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ private async Task SpeakConfiguredTextAsync(string text, bool muteVoiceCapture,
138138
var speakArgs = new TtsSpeakArgs
139139
{
140140
Text = speakText,
141-
Provider = _settings.TtsProvider ?? TtsCapability.PiperProvider,
141+
// Leave provider unset so TextToSpeechService treats this as
142+
// configured/default playback and can fall back when needed.
143+
Provider = null,
142144
Interrupt = true
143145
};
144146

0 commit comments

Comments
 (0)