DRU-651 -- Voice notes reach the chat agent as text - #727
Merged
czpython merged 1 commit intoSep 26, 2026
Merged
Conversation
czpython
force-pushed
the
codex/dru-650-other-files-reach-the-chat-agent-as-links
branch
from
September 26, 2026 19:59
a44de84 to
14f0695
Compare
czpython
force-pushed
the
codex/dru-651-voice-notes-reach-the-chat-agent-as-text
branch
2 times, most recently
from
September 26, 2026 20:02
994694a to
c632874
Compare
czpython
force-pushed
the
codex/dru-650-other-files-reach-the-chat-agent-as-links
branch
from
September 26, 2026 20:14
14f0695 to
12c91f0
Compare
czpython
force-pushed
the
codex/dru-651-voice-notes-reach-the-chat-agent-as-text
branch
from
September 26, 2026 20:14
c632874 to
84c2247
Compare
Base automatically changed from
codex/dru-650-other-files-reach-the-chat-agent-as-links
to
main
September 26, 2026 20:18
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
czpython
force-pushed
the
codex/dru-651-voice-notes-reach-the-chat-agent-as-text
branch
from
September 26, 2026 20:19
84c2247 to
e52bfec
Compare
czpython
force-pushed
the
codex/dru-651-voice-notes-reach-the-chat-agent-as-text
branch
from
September 26, 2026 20:26
e52bfec to
e60a925
Compare
czpython
deleted the
codex/dru-651-voice-notes-reach-the-chat-agent-as-text
branch
September 26, 2026 20:28
This branch was successfully deployed
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.
A person speaks a voice note in WhatsApp, or sends an audio clip on Slack, and the agent answers what they said, in text. Nothing shows on the channel before the reply.
SpeechToTextcard inchat/services.py:url,key, andmodel, not required, no check on save.transcribeposts the audio as multipart to{url}/audio/transcriptionswith the model and returns the answer'stext. OpenAI, Groq, and a local server that speaks the same shape all work. An empty answer is aTranscriptionError, a new typed error inchat/exceptions.py.Message.transcript, one text column, empty by default, with its migration.bodystays what the person typed,filethe audio.send_turn, before the blocks: for each pending message with anaudio/*file, Druks calls the card, saves the transcript, and commits it with the delivered state, before the prompt.[Voice note]line, then the transcript, empty parts left out.VOICE_NOTE_MARKERlives inchat/constants.pybeside the internal message templates. Audio adds no upload and no link.MAX_UPLOAD_BYTES, the transcript stays empty and Druks adds an internal message fromTRANSCRIPTION_FAILED_MESSAGEto the same turn, worded neutrally. The notes close the turn. The turn runs. A note over the cap makes no call.docs/configuration.mddescribes the Speech To Text card.docs/chat.mddescribes voice notes under WhatsApp and Slack, and what happens when Druks cannot transcribe.