Skip to content

feat(ui): add per-request TTS instructions - #11614

Open
localai-org-maint-bot wants to merge 2 commits into
masterfrom
cron/issue-11609-tts-instructions-20260820
Open

feat(ui): add per-request TTS instructions#11614
localai-org-maint-bot wants to merge 2 commits into
masterfrom
cron/issue-11609-tts-instructions-20260820

Conversation

@localai-org-maint-bot

Copy link
Copy Markdown
Collaborator

Description

Expose the existing per-request TTS instructions field in the React Text to Speech studio. The UI trims non-empty guidance, includes it in request previews and media history, and omits blank values for compatibility.

Add localized labels for every existing UI locale, focused Playwright coverage for trimmed and blank requests, and documentation for the /v1/audio/speech mapping.

Closes #11609

Notes for Reviewers

Verified locally:

  • npm run build
  • targeted ESLint for TTS.jsx and voice-library.spec.js (0 errors)
  • npm run lint:inline-styles (520, at baseline)
  • Playwright test discovery (7 tests, including the new regression)

The browser test could not launch on this host because its Chromium runtime lacks GLib/NSS/X11 shared libraries. CI has the provisioned browser environment and will execute it. Full-repository ESLint also has six unrelated existing hook errors in e2e/coverage-fixtures.js and src/pages/Chat.jsx.

Signed commits

  • Yes, I signed my commits.
  • Documentation updated (docs/content/) for user-facing changes, or not applicable

Let studio users guide speech delivery for backends that support request instructions. Blank guidance stays out of requests and media history.

Assisted-by: Codex:gpt-5
TTS instructions add a second textarea to the page. Target the speech input by its placeholder so the history test does not depend on the page having one textarea.

Assisted-by: Codex:gpt-5
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.

TTS Voice Design WebUI

1 participant