feat(ui): add per-request TTS instructions - #11614
Open
localai-org-maint-bot wants to merge 2 commits into
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Expose the existing per-request TTS
instructionsfield 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/speechmapping.Closes #11609
Notes for Reviewers
Verified locally:
npm run buildTTS.jsxandvoice-library.spec.js(0 errors)npm run lint:inline-styles(520, at baseline)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.jsandsrc/pages/Chat.jsx.Signed commits