mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1178] [MERGED] Port TTS speed fallback to refactor #4961
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#4961
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/1178
Author: @cha1latte
Created: 5/24/2026
Status: ✅ Merged
Merged: 5/24/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/refactor-pr-1141-tts-speed📝 Commits (1)
b80fce5Port TTS speed fallback to refactor📊 Changes
5 files changed (+36 additions, -5 deletions)
View changed files
📝
src/features/modes/shared/chat-ui/components/ChatMessage.tsx(+11 -3)📝
src/features/modes/shared/chat-ui/hooks/use-chat-tts-autoplay.ts(+10 -2)📝
src/features/shell/settings/components/settings/TTSConfigCard.tsx(+2 -0)📝
src/shared/lib/tts-dialogue.ts(+9 -0)📝
src/shared/lib/tts-service.ts(+4 -0)📄 Description
What?
Ports the local OpenAI-compatible TTS speed fallback from #1141 onto the refactor branch layout.
This keeps OpenAI cloud and non-OpenAI providers at the provider-owned speed behavior, while local OpenAI-compatible TTS servers apply the configured speed slider through the browser audio element.
Why?
#1141 targets staging, but the same fix needs to land on refactor. A straight retarget conflicts because the TTS call sites moved in the refactor branch.
How?
clientSidePlaybackRate()in the shared TTS dialogue helpers.ttsService.speak().Testing?
pnpm checkpassed.Screenshots
N/A, non-visual TTS playback behavior.
Anything Else?
Source PR: #1141.
Manual verification to consider: test the speed slider against a real local OpenAI-compatible TTS server, since Codex verified the client-side playback path but did not play audio through a real local TTS provider.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.