mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2438] [Issue]: 11-PROV-RUNTIME-tts-voices-and-speech ElevenLabs voice discovery misses legacy pagination #1191
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#1191
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?
Originally created by @Promansis on GitHub (Jun 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2438
Originally assigned to: @SpicyMarinara on GitHub.
Summary
11-PROV-RUNTIME-tts-voices-and-speechparity gap: refactor ElevenLabs voice listing only reads one/v2/voicesresponse, while legacy paginated and merged default plus account voices. This can hide available ElevenLabs voices in the refactor TTS provider voice picker.Linked source tracker: #2410.
Expected behavior
ElevenLabs TTS voice discovery should match legacy behavior by collecting provider voices across pages and including both default voices and account voices before returning the normalized
TTSVoicesResponse.Acceptance criteria:
/v2/voicesresults are followed until no more pages remain, with a bounded loop.id,name, optional metadata,fromProvider: true, and fallback/error metadata when provider lookup fails.Actual behavior
Refactor
elevenlabs_voicesperforms a single/v2/voices?page_size=100&include_total_count=falserequest and parses that one response. It does not repeat legacy's default/account voice merge or pagination loop.Steps to reproduce
tts_voices.mainbehavior.Impact area
Environment
Logs, screenshots, or video
Proof used: static trace only.
Legacy behavior:
main:packages/server/src/routes/tts.routes.ts:426paginates ElevenLabs/v2/voices.main:packages/server/src/routes/tts.routes.ts:490mergesvoice_type=defaultand account voices.Refactor behavior:
src-tauri/src/commands/storage/integrations/tts.rs:596has the ElevenLabs voice request helper.src-tauri/src/commands/storage/integrations/tts.rs:601calls one/v2/voices?page_size=100&include_total_count=falseURL.src-tauri/src/commands/storage/integrations/tts.rs:624parses only that one response.Files inspected:
src/shared/api/tts-api.ts:79src/engine/contracts/types/tts.ts:102src-tauri/src/commands/storage/integrations/tts.rs:199src-tauri/src/commands/storage/integrations/tts.rs:285src-tauri/src/commands/storage/integrations/tts.rs:596main:packages/server/src/routes/tts.routes.ts:426main:packages/server/src/routes/tts.routes.ts:490Regression notes
This worked in legacy
main. The refactor keeps TTS provider fanout and speech proxy behavior, but the ElevenLabs voice listing is narrower than legacy.Additional context
Surface:
11-PROV-RUNTIME-tts-voices-and-speech.Batch receipt result:
gap.Translation provider transport in the same batch was scanned with no confirmed parity gap, so no translation issue was created.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jun 6, 2026):
Fixed on refactor in commit
c92bbcfc.What changed:
Verification: