Skip to content

Commit

Permalink
fix: endpointing=false was being ignored for Deepgram
Browse files Browse the repository at this point in the history
  • Loading branch information
davehorton committed Dec 28, 2023
1 parent 40a62bd commit 11cd4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/transcription-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ module.exports = (logger) => {
...(deepgramOptions.keywords) &&
{DEEPGRAM_SPEECH_KEYWORDS: deepgramOptions.keywords.join(',')},
...('endpointing' in deepgramOptions) &&
{DEEPGRAM_SPEECH_ENDPOINTING: deepgramOptions.endpointing},
{DEEPGRAM_SPEECH_ENDPOINTING: deepgramOptions.endpointing === false ? 'false' : deepgramOptions.endpointing},
...(deepgramOptions.utteranceEndMs) &&
{DEEPGRAM_SPEECH_UTTERANCE_END_MS: deepgramOptions.utteranceEndMs},
...(deepgramOptions.vadTurnoff) &&
Expand Down

0 comments on commit 11cd4fa

Please sign in to comment.