Skip to content

fix(desktop): support batch transcription for custom STT provider#4627

Open
AzimovS wants to merge 1 commit intofastrepl:mainfrom
AzimovS:fix/custom-batch-provider
Open

fix(desktop): support batch transcription for custom STT provider#4627
AzimovS wants to merge 1 commit intofastrepl:mainfrom
AzimovS:fix/custom-batch-provider

Conversation

@AzimovS
Copy link

@AzimovS AzimovS commented Mar 17, 2026

Summary

  • The "Custom" STT provider was missing from BATCH_PROVIDER_MAP in useRunBatch.ts, causing getBatchProvider() to return null and batch transcription to fail with "Batch transcription is not supported for provider: custom"
  • Maps custom to the deepgram adapter since custom endpoints use the Deepgram-compatible protocol

Context

When live WebSocket streaming fails (e.g., the custom endpoint only supports HTTP), the app falls back to batch mode and records audio to disk. However, clicking the refresh button to trigger batch transcription threw an error because the custom provider had no batch adapter mapping.


Note

Low Risk
Low risk: a small mapping change that routes custom batch requests through the existing Deepgram-compatible adapter, with minimal impact outside batch provider selection.

Overview
Fixes batch transcription for the custom STT provider by adding it to BATCH_PROVIDER_MAP in useRunBatch.ts, mapping custom to the deepgram batch adapter so getBatchProvider() no longer returns null.

Written by Cursor Bugbot for commit f85a647. This will update automatically on new commits. Configure here.

Map the "custom" provider to the Deepgram-compatible batch adapter so
that clicking the refresh button after a session triggers batch
transcription against custom endpoints.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@netlify
Copy link

netlify bot commented Mar 17, 2026

👷 Deploy request for hyprnote pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f85a647

@netlify
Copy link

netlify bot commented Mar 17, 2026

Deploy Preview for hyprnote-storybook canceled.

Name Link
🔨 Latest commit f85a647
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/69b951d49591f20007cf3a07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant