mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1744] [MERGED] Add configurable OpenAI TTS voice lookup path #5255
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5255
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1744
Author: @cha1latte
Created: 5/31/2026
Status: ✅ Merged
Merged: 5/31/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-1592-tts-voices-path📝 Commits (1)
22b0b88Add configurable TTS voice lookup path📊 Changes
5 files changed (+96 additions, -11 deletions)
View changed files
📝
src-tauri/src/commands/storage/integrations/tts.rs(+66 -8)📝
src/engine/contracts/types/tts.ts(+2 -0)📝
src/features/modes/shared/chat-ui/hooks/use-streaming-tts.test.tsx(+1 -0)📝
src/features/shell/settings/components/settings/TTSConfigCard.tsx(+23 -0)📝
src/shared/hooks/use-tts.ts(+4 -3)📄 Description
Linked issue
Closes #1592
Why this change
/audio/voices, so self-hosted or custom-compatible providers using paths like/voicesor/v1/voicescould not return live voice catalogs.What changed
voicesPathto the TTS config contract, defaulting to blank so existing configs keep/audio/voices.Refactor impact
Primary owner:
Rust storage integrations / TTS configuration.
Impact areas reviewed:
src-tauriTTS voice lookupBoundary notes:
Pressure points touched:
tts_voicesRust command pathValidation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses locally before PR push/handoff, including the unused-code checkpnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
Codex verification run:
cargo test --manifest-path src-tauri/Cargo.toml openai_compatible_voice_lookup -- --nocapturecargo test --manifest-path src-tauri/Cargo.toml openai_voices_url -- --nocapturepnpm test -- src\features\modes\shared\chat-ui\hooks\use-streaming-tts.test.tsxpnpm typecheckcargo check --manifest-path src-tauri\Cargo.tomlnode scratch\issue-1592-ui-proof.mjspnpm checknode C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.jsonDocs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
Local Playwright proof captured the OpenAI-compatible TTS settings card showing the new
Voice Lookup Pathfield with/audio/voicesplaceholder atscratch/issue-1592-tts-voices-path.png. Not embedded here because local scratch files are not GitHub-renderable PR evidence.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.