hermes-agent/gateway/platforms/qqbot
Zioywishing b74c033ca1 fix(qqbot): stop routing file uploads through STT pipeline
The _is_voice_content_type() heuristic matched audio file extensions
(.wav, .mp3, .ogg, etc.) even when the QQ Bot API explicitly reported
content_type='file'.  This caused files sent via QQ's file-transfer
feature to be routed through the speech-to-text pipeline instead of
being saved as regular attachments.

The QQ Bot API already distinguishes voice messages (content_type=
'voice') from file uploads (content_type='file'), so filename-based
extension sniffing is unnecessary and harmful.

Removed the _VOICE_EXTENSIONS fallback; now only content_type is
checked.

Closes #XXXX
2026-07-28 14:06:56 -07:00
..
__init__.py feat(qqbot): add inline-keyboard approvals and update prompts 2026-05-07 07:36:30 -07:00
adapter.py fix(qqbot): stop routing file uploads through STT pipeline 2026-07-28 14:06:56 -07:00
chunked_upload.py chore: prune unused imports and duplicate import redefinitions 2026-05-28 22:26:25 -07:00
constants.py
crypto.py
keyboards.py fix(approval): scope smart deny owner overrides to one operation 2026-07-13 04:31:55 -07:00
onboard.py fix(gateway): guard chained .get() against None intermediate values 2026-07-23 12:01:24 -07:00
utils.py