diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index 6c826d5336..6f95eb2b2f 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -369,6 +369,11 @@ export class ClineProvider extends EventEmitter implements setTtsEnabled(ttsEnabled ?? false) }) + // Initialize tts speed state + this.getState().then(({ ttsSpeed }) => { + setTtsSpeed(ttsSpeed ?? 1) + }) + webviewView.webview.options = { // Allow scripts in the webview enableScripts: true,