[GH-ISSUE #1360] [Issue]: Refactor TTS config is missing the legacy audioFormat option #684

Closed
opened 2026-10-20 17:31:49 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ghost on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1360

Originally assigned to: @cha1latte on GitHub.

Summary

Legacy TTS config allowed audioFormat (mp3/wav). The refactor omits the setting and native OpenAI-compatible requests hard-code MP3.

Classification: Schema/UI/native request parity gap

Expected behavior

Users should be able to choose the configured TTS output format where supported, and imports of legacy TTS config should preserve audioFormat.

Actual behavior

Current TTS types/defaults/UI omit audioFormat; Rust TTS request uses response_format: "mp3".

Steps to reproduce

  1. Inspect legacy .tmp/refactor-audit-v161/packages/shared/src/types/tts.ts and TTS schema/routes.
  2. Inspect current src/engine/contracts/types/tts.ts, TTS settings UI, and src-tauri/src/commands/storage/integrations/tts.rs.
  3. Compare serialized TTS config and provider request body.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: refactor (audit snapshot 07af6d8b)
  • Legacy baseline: origin/staging / v1.6.1 raw codebase
  • Run mode: Tauri desktop / remote runtime parity audit
  • OS + version: not OS-specific unless labeled Windows/Android
  • Node + pnpm versions: not captured for this audit ticket
  • Rust version, if relevant: not captured for this audit ticket
  • Remote Runtime URL configured? not relevant unless the issue is remote-runtime/security related
  • Provider, model, or integration, if relevant: see summary/additional context

Logs, screenshots, or video

No runtime logs or screenshots. Finding comes from raw-codebase parity inspection.

Regression notes

Legacy behavior/source exists in origin/staging / v1.6.1 raw codebase and is tracked in docs/refactor-staging-1.6-feature-gap-audit.md. Current refactor source did not show equivalent behavior at the paths named below.

Additional context

Potential owners: TTS contract/defaults, TTS settings card, native TTS integration, and utility wrapper.

Audit report: docs/refactor-staging-1.6-feature-gap-audit.md.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @ghost on GitHub (May 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1360 Originally assigned to: @cha1latte on GitHub. ## Summary Legacy TTS config allowed `audioFormat` (`mp3`/`wav`). The refactor omits the setting and native OpenAI-compatible requests hard-code MP3. **Classification:** Schema/UI/native request parity gap ## Expected behavior Users should be able to choose the configured TTS output format where supported, and imports of legacy TTS config should preserve `audioFormat`. ## Actual behavior Current TTS types/defaults/UI omit `audioFormat`; Rust TTS request uses `response_format: "mp3"`. ## Steps to reproduce 1. Inspect legacy `.tmp/refactor-audit-v161/packages/shared/src/types/tts.ts` and TTS schema/routes. 2. Inspect current `src/engine/contracts/types/tts.ts`, TTS settings UI, and `src-tauri/src/commands/storage/integrations/tts.rs`. 3. Compare serialized TTS config and provider request body. ## Impact area - [x] App shell, navigation, startup, or providers - [ ] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [ ] Game mode - [x] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [x] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: refactor (audit snapshot 07af6d8b) - Legacy baseline: origin/staging / v1.6.1 raw codebase - Run mode: Tauri desktop / remote runtime parity audit - OS + version: not OS-specific unless labeled Windows/Android - Node + pnpm versions: not captured for this audit ticket - Rust version, if relevant: not captured for this audit ticket - Remote Runtime URL configured? not relevant unless the issue is remote-runtime/security related - Provider, model, or integration, if relevant: see summary/additional context ## Logs, screenshots, or video No runtime logs or screenshots. Finding comes from raw-codebase parity inspection. ## Regression notes Legacy behavior/source exists in `origin/staging / v1.6.1 raw codebase` and is tracked in `docs/refactor-staging-1.6-feature-gap-audit.md`. Current refactor source did not show equivalent behavior at the paths named below. ## Additional context Potential owners: TTS contract/defaults, TTS settings card, native TTS integration, and utility wrapper. Audit report: `docs/refactor-staging-1.6-feature-gap-audit.md`. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@SpicyMarinara commented on GitHub (May 27, 2026):

Verified on refactor at b947200b: TTS config now carries the legacy audioFormat option through the contract/defaults/UI and the native Tauri TTS bridge forwards it as response_format. Closing as implemented.

<!-- gh-comment-id:4554249450 --> @SpicyMarinara commented on GitHub (May 27, 2026): Verified on refactor at b947200b: TTS config now carries the legacy audioFormat option through the contract/defaults/UI and the native Tauri TTS bridge forwards it as response_format. Closing as implemented.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#684
No description provided.