Skip to content

fix: send WhatsApp audio via native bridge media path - #8111

Closed
EvolvingSoftwareAgent wants to merge 1 commit into
NousResearch:mainfrom
EvolvingSoftwareAgent:fix/whatsapp-audio-send-voice
Closed

fix: send WhatsApp audio via native bridge media path#8111
EvolvingSoftwareAgent wants to merge 1 commit into
NousResearch:mainfrom
EvolvingSoftwareAgent:fix/whatsapp-audio-send-voice

Conversation

@EvolvingSoftwareAgent

Copy link
Copy Markdown

Summary

  • add WhatsAppAdapter.send_voice()
  • route WhatsApp audio through the existing bridge /send-media path
  • add a regression test covering audio routing

Problem

WhatsApp outbound audio attachments were falling back to the base adapter's text behavior because gateway/run.py already routes audio media to adapter.send_voice(), but WhatsAppAdapter did not implement send_voice().

Test Plan

  • local end-to-end manual test in WhatsApp chat confirmed audio attachment delivery after the fix
  • pytest -q tests/gateway/test_whatsapp_connect.py -k send_voice_routes_to_bridge_audio_media
  • full gateway test suite

@teknium1

Copy link
Copy Markdown
Contributor

Thanks for the fix! The same send_voice() override already landed on main in commit ed76185 ("feat(whatsapp): implement send_voice for audio message delivery") via #12656, so this PR is now a no-op diff against current main. Closing as superseded — the behavior you fixed is in main today.

ed76185

@teknium1 teknium1 closed this Apr 21, 2026
@alt-glitch alt-glitch added type/bug Something isn't working comp/gateway Gateway runner, session dispatch, delivery platform/whatsapp WhatsApp Business adapter tool/tts Text-to-speech and transcription labels Apr 21, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Likely duplicate of #13002 — same send_voice() override for WhatsApp adapter already merged.

@alt-glitch

Copy link
Copy Markdown
Collaborator

Likely duplicate of #13002

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

Labels

comp/gateway Gateway runner, session dispatch, delivery platform/whatsapp WhatsApp Business adapter tool/tts Text-to-speech and transcription type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants