feat(gateway): add configurable STT transcription echo - #22123
Closed
Fr4nzz wants to merge 1 commit into
Closed
Conversation
Adds echo_transcription option to the STT config. When enabled, successful transcriptions are sent back to the user as a reply to the original voice message, using the format: 🎤 "transcribed text" - GatewayConfig: add echo_transcription field with from_dict loading - gateway/run.py: return transcripts from _enrich_message_with_transcription and add echo logic in _prepare_inbound_message - hermes_cli/config.py: add echo_transcription to default config
Collaborator
This was referenced May 13, 2026
Contributor
|
This is an automated hermes-sweeper review: the configurable STT transcript echo requested here is already implemented on current
The duplicate discussion linking #13727 and #9656 was useful context. Thanks for the contribution. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds an
echo_transcriptionoption to the STT config. When enabled, successful voice transcriptions are sent back to the user as a reply to the original voice message.Why
Users often want to see what the AI heard before it responds, especially when verifying transcription accuracy or when the voice message is long. This matches behavior seen in other Telegram bots and improves UX.
Changes
gateway/config.py: Addedecho_transcriptionfield toGatewayConfigwithfrom_dictloadinggateway/run.py:_enrich_message_with_transcriptionto return(message_text, transcripts)tuple_prepare_inbound_messagethat replies to the original voice message with the transcriptionhermes_cli/config.py: Addedecho_transcription: falseto default STT configFormat
The echo appears as a reply to the voice message:
How to test
stt.echo_transcription: truein~/.hermes/config.yamlPlatforms tested