Skip to content

fix(gateway): include replied-to media attachments - #46107

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-fc97187c
Jun 14, 2026
Merged

fix(gateway): include replied-to media attachments#46107
teknium1 merged 1 commit into
mainfrom
hermes/hermes-fc97187c

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Summary

Replies to media-bearing Discord and Telegram messages now pass the referenced attachment into the gateway media pipeline so the agent can inspect it.

Changes

  • Discord: merge message.reference.resolved.attachments with current/snapshot attachments before caching.
  • Telegram: cache media from reply_to_message for text/command replies and attach the saved path to the event.
  • Tests: add Discord and Telegram regressions for text replies to image-only messages.

Validation

Check Result
RED regressions Both failed before implementation
Targeted pytest 52 passed
py_compile passed
Import smoke imports ok TelegramAdapter DiscordAdapter

Infographic

Replied Media Now Works

@teknium1
teknium1 force-pushed the hermes/hermes-fc97187c branch from e7baf4a to 3972dfa Compare June 14, 2026 11:31
@github-actions

Copy link
Copy Markdown
Contributor

🔎 Lint report: hermes/hermes-fc97187c vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 10908 on HEAD, 10908 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 5740 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@teknium1
teknium1 merged commit efbe163 into main Jun 14, 2026
30 checks passed
@teknium1
teknium1 deleted the hermes/hermes-fc97187c branch June 14, 2026 11:51
AIalliAI pushed a commit to AIalliAI/Hermes that referenced this pull request Jun 14, 2026
T02200059 pushed a commit to T02200059/hermes-agent that referenced this pull request Jun 18, 2026
waefrebeorn pushed a commit to waefrebeorn/slermes that referenced this pull request Jul 2, 2026
Methodician added a commit to Methodician/hermes-agent that referenced this pull request Jul 4, 2026
habarmc1223-sudo pushed a commit to habarmc1223-sudo/hermes-agent-fluxmem that referenced this pull request Jul 8, 2026
santhreal pushed a commit to santhreal/hermes-agent that referenced this pull request Jul 13, 2026
Gravezzz pushed a commit to Gravezzz/hermes-agent that referenced this pull request Jul 21, 2026
leewenjie pushed a commit to leewenjie/hermes-agent that referenced this pull request Aug 7, 2026
melon-xf added a commit to melon-xf/hermes-agent that referenced this pull request Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant