Skip to content

app: add read aloud for assistant responses - #18553

Open
codevoks wants to merge 1 commit into
ollama:mainfrom
codevoks:feature/read-aloud-17488
Open

codevoks wants to merge 1 commit into
ollama:mainfrom
codevoks:feature/read-aloud-17488

Conversation

@codevoks

Copy link
Copy Markdown

Summary

  • Add Web Speech API read-aloud on assistant messages (play/stop, voice/rate/volume).
  • Persist speech settings in the desktop store and settings API; optional auto-read when a reply finishes streaming.
  • Stop playback when switching chats.

Closes #17488

Test plan

  • Settings: voice, speed, volume, auto-read save and reload.
  • Manual read on a completed assistant message; stop works.
  • Auto-read after stream completes (when enabled).
  • Switch chat while playing — audio stops.
  • go test ./app/... and npm test -- --run in app/ui/app.

Persist speech settings in the store and use the Web Speech API in the
desktop UI with auto-read, playback controls, and chat-switch cleanup.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Text-to-Speech

1 participant