# NousResearch/hermes-agent · LINE adapter wrong cache function for audio/video

## Open now

- 1 issue, 0 PRs open on GitHub.
- #62846: \[Bug\]: LINE adapter uses cache_image_from_bytes for audio/video

A bug in the LINE adapter incorrectly routes audio, video, and file media through the image cache function instead of the appropriate audio/file cache handler. The cluster includes the bug report and related fix attempts addressing this misrouting.

## TL;DR

- 5 member(s): 1 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #73515. Verify it addresses your case.
- **Recommended:** read PR #73515 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.34`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #62846: \[Bug\]: LINE adapter uses cache_image_from_bytes for audio/video

## Closed / duplicate issues

- #57882: LINE adapter: inbound voice/video/file messages are dropped — all media routed through the image cache

## Prior & competing PRs

- **#73515: fix(gateway): inbound voice classification/routing for Feishu, DingTalk, LINE, QQ, Photon, WhatsApp, Weixin**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/Zioywishing@users.noreply.github.com`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `contributors/emails/zgzczzw@users.noreply.github.com`, `gateway/platforms/qqbot/adapter.py`, `gateway/platforms/weixin.py`, `gateway/run.py`, `plugins/platforms/dingtalk/adapter.py`, `plugins/platforms/feishu/adapter.py`, `plugins/platforms/line/adapter.py`, `plugins/platforms/photon/adapter.py`, `plugins/platforms/whatsapp/adapter.py`, `tests/gateway/test_dingtalk.py`, `tests/gateway/test_feishu.py`, `tests/gateway/test_feishu_voice_message_type.py`, `tests/gateway/test_line_plugin.py`, `tests/gateway/test_qqbot.py`, `tests/gateway/test_stt_config.py` (+6 more)
- **#57884: fix(line): route audio/video/file payloads to cache_audio_from_bytes**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `c911a5f10f`, `#73515`, `#27142`
- **#62848: fix(line): correct cache func for audio/video in _download_media**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#34233`, `#62846`, `#57882`, `#27142`, `#44019`

## Fix status

- Merged to main in PR #73515 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-28`.
- Subsystem: `gateway`
