[GH-ISSUE #7344] [Issue]: Allow custom self-hosted speech-to-text models #4093

Closed
opened 2026-10-21 06:10:29 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @SpicyMarinara on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7344

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Add an option to replace Whisper with a user-selected, self-hosted speech-to-text model for calls.

Expected behavior

Users can configure their preferred STT connection and model, enabling hands-free calls with better language recognition and responsiveness.

Actual behavior

Calls rely on the existing microphone recording and Whisper workflow. The microphone may stop recording before the user finishes speaking, and Whisper can struggle to recognize the user's native language.

Steps to reproduce

  1. Start a call using the current microphone recording and Whisper workflow.
  2. Speak a longer sentence or speak in a language that Whisper does not recognize reliably.
  3. Observe that recording may end before the sentence is complete or that transcription may be inaccurate.
  4. Check the settings and observe that no option is available to configure a custom STT connection or model.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Not provided in the Discord context.

Additional context

The requester mentioned STT models available through OpenRouter and developer websites. A Marinara team member confirmed that replacing Whisper with a self-hosted model could be supported.

Discord thread: FR: A way to set a STT connection of my choosing
Discord thread link: https://discord.com/channels/1417099416812392641/1558019974168059974
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-10-09T07:35:08.453Z] Dreamy: Hi guys, I've been enjoying Marinara Engine a lot, especially the call feature lately. 

But I'd like to have those calls happening with my hands free. I know this is an option with some models, but they're more expensive, free options from google AI studio are unreliable or very slow, and even then some of these models don't match my characters well, so it's not a good solution for me. 

The mic recording + whisper solution isn't ideal either. The mic cuts off before I've finished talking and the whisper model, even the base one, sometimes struggle with understanding my native language properly. I understand English fine, but speaking is a hassle and even when I'm willing to go that route, again we have the mic cutting off before I've barely finished a sentence.

There are many STT models available out there, on OpenRouter and developers websites as well, so it would be great if I could set up a model of my choosing. Would that be possible?

Thanks in advance!
[Discord message: https://discord.com/channels/1417099416812392641/1558019974168059974/1558019974168059974]

[2026-10-09T07:35:09.137Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1558019974168059974/1558019977037086782]

[2026-10-09T09:16:39.877Z] Marinara: Sure. We can allow to replace Whisper with a self-hosted model for that.
[Discord message: https://discord.com/channels/1417099416812392641/1558019974168059974/1558045523452370947]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 9, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7344 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Add an option to replace Whisper with a user-selected, self-hosted speech-to-text model for calls. ## Expected behavior Users can configure their preferred STT connection and model, enabling hands-free calls with better language recognition and responsiveness. ## Actual behavior Calls rely on the existing microphone recording and Whisper workflow. The microphone may stop recording before the user finishes speaking, and Whisper can struggle to recognize the user's native language. ## Steps to reproduce 1. Start a call using the current microphone recording and Whisper workflow. 2. Speak a longer sentence or speak in a language that Whisper does not recognize reliably. 3. Observe that recording may end before the sentence is complete or that transcription may be inaccurate. 4. Check the settings and observe that no option is available to configure a custom STT connection or model. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Not provided in the Discord context. ## Additional context The requester mentioned STT models available through OpenRouter and developer websites. A Marinara team member confirmed that replacing Whisper with a self-hosted model could be supported. Discord thread: FR: A way to set a STT connection of my choosing Discord thread link: https://discord.com/channels/1417099416812392641/1558019974168059974 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-10-09T07:35:08.453Z] Dreamy: Hi guys, I've been enjoying Marinara Engine a lot, especially the call feature lately. But I'd like to have those calls happening with my hands free. I know this is an option with some models, but they're more expensive, free options from google AI studio are unreliable or very slow, and even then some of these models don't match my characters well, so it's not a good solution for me. The mic recording + whisper solution isn't ideal either. The mic cuts off before I've finished talking and the whisper model, even the base one, sometimes struggle with understanding my native language properly. I understand English fine, but speaking is a hassle and even when I'm willing to go that route, again we have the mic cutting off before I've barely finished a sentence. There are many STT models available out there, on OpenRouter and developers websites as well, so it would be great if I could set up a model of my choosing. Would that be possible? Thanks in advance! [Discord message: https://discord.com/channels/1417099416812392641/1558019974168059974/1558019974168059974] [2026-10-09T07:35:09.137Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1558019974168059974/1558019977037086782] [2026-10-09T09:16:39.877Z] Marinara: Sure. We can allow to replace Whisper with a self-hosted model for that. [Discord message: https://discord.com/channels/1417099416812392641/1558019974168059974/1558045523452370947] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:10:29 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Oct 9, 2026):

Fixed on staging by #7353.

<!-- gh-comment-id:6081428363 --> @SpicyMarinara commented on GitHub (Oct 9, 2026): Fixed on staging by #7353.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 9, 2026):

Reopening: #7353 landed the Engine side on staging (Connections → Speech to Text, and a speech-to-text capability for packages). Calls still transcribes with its own Whisper copy until the Calls package update in Pasta-Devs/Marinara-Agents#1280 ships; I'll close this when it does.

<!-- gh-comment-id:6081444235 --> @SpicyMarinara commented on GitHub (Oct 9, 2026): Reopening: #7353 landed the Engine side on staging (Connections → Speech to Text, and a speech-to-text capability for packages). Calls still transcribes with its own Whisper copy until the Calls package update in Pasta-Devs/Marinara-Agents#1280 ships; I'll close this when it does.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 9, 2026):

From the same Discord thread (#7358, closed as a duplicate): the mic often cuts the user off mid-sentence, even on short sentences. Calls is supposed to wait for longer pauses, so this is being handled as a bug in the Calls package, together with Pasta-Devs/Marinara-Agents#1280.

<!-- gh-comment-id:6082658362 --> @SpicyMarinara commented on GitHub (Oct 9, 2026): From the same Discord thread (#7358, closed as a duplicate): the mic often cuts the user off mid-sentence, even on short sentences. Calls is supposed to wait for longer pauses, so this is being handled as a bug in the Calls package, together with Pasta-Devs/Marinara-Agents#1280.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 9, 2026):

Calls 1.1.0 (Pasta-Devs/Marinara-Agents#1281) is on Agents staging: calls now send recordings to the speech-to-text server from Connections → Speech to Text when it's on, fall back to Local Whisper otherwise, and keep speech said while the previous clip is still being transcribed instead of dropping it. Keeping this open for the mic cutting off mid-sentence: a race in the call upload can lose a clip in Local Whisper mode, which is being fixed next.

<!-- gh-comment-id:6086446676 --> @SpicyMarinara commented on GitHub (Oct 9, 2026): Calls 1.1.0 (Pasta-Devs/Marinara-Agents#1281) is on Agents staging: calls now send recordings to the speech-to-text server from Connections → Speech to Text when it's on, fall back to Local Whisper otherwise, and keep speech said while the previous clip is still being transcribed instead of dropping it. Keeping this open for the mic cutting off mid-sentence: a race in the call upload can lose a clip in Local Whisper mode, which is being fixed next.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 9, 2026):

Done on staging:

  • Engine #7353: Connections → Speech to Text, an OpenAI-compatible /audio/transcriptions server with optional API key, model and language, set up like the TTS option.
  • Calls 1.1.0 (Pasta-Devs/Marinara-Agents#1281): calls send recordings to that server when it's on, fall back to Local Whisper otherwise, and keep speech said while the previous clip is still being transcribed.
  • Calls 1.1.1 (Pasta-Devs/Marinara-Agents#1288): fixes the mic cutting off and losing speech. An upload race could drop clips in Local Whisper mode, and in a background tab the silence check could end a clip mid-sentence. The pause before sending (3 s of quiet) is unchanged.
<!-- gh-comment-id:6087350762 --> @SpicyMarinara commented on GitHub (Oct 9, 2026): Done on staging: - Engine #7353: Connections → Speech to Text, an OpenAI-compatible /audio/transcriptions server with optional API key, model and language, set up like the TTS option. - Calls 1.1.0 (Pasta-Devs/Marinara-Agents#1281): calls send recordings to that server when it's on, fall back to Local Whisper otherwise, and keep speech said while the previous clip is still being transcribed. - Calls 1.1.1 (Pasta-Devs/Marinara-Agents#1288): fixes the mic cutting off and losing speech. An upload race could drop clips in Local Whisper mode, and in a background tab the silence check could end a clip mid-sentence. The pause before sending (3 s of quiet) is unchanged.
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#4093
No description provided.