mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-20 10:11:58 +00:00
The Weixin adapter's send() method previously split and delivered the raw response text without first extracting MEDIA: tags or bare local file paths. This meant images, documents, and voice files referenced by the agent were silently dropped in normal (non-streaming, non-background) conversations. Changes: - In WeixinAdapter.send(), call extract_media() and extract_local_files() before formatting/splitting text. - Deliver extracted files via send_image_file(), send_document(), send_voice(), or send_video() prior to sending text chunks. - Also fix two minor typing issues in gateway/run.py where extract_media() tuples were not unpacked correctly in background and /btw task handlers. Fixes missing media delivery on Weixin personal accounts. |
||
|---|---|---|
| .. | ||
| builtin_hooks | ||
| platforms | ||
| __init__.py | ||
| channel_directory.py | ||
| config.py | ||
| delivery.py | ||
| display_config.py | ||
| hooks.py | ||
| mirror.py | ||
| pairing.py | ||
| restart.py | ||
| run.py | ||
| session.py | ||
| session_context.py | ||
| status.py | ||
| sticker_cache.py | ||
| stream_consumer.py | ||