Skip to content

WeCom file attachment broken after v0.14 upgrade (worked in v0.13) #27947

@snowfox899

Description

@snowfox899

Problem

After upgrading from v0.13.0 to v0.14.0, WeCom (Enterprise WeChat) file attachments are no longer delivered to users. The send_message tool reports success but the file is silently dropped.

Expected behavior (v0.13.0): User receives PDF file directly in WeCom chat.

Actual behavior (v0.14.0): Message sends without error, but no file attachment arrives. The warning in the response states: "MEDIA attachments were omitted for wecom; native send_message media delivery is currently only supported for telegram, discord, matrix, weixin, signal, yuanbao and feishu"

Steps to reproduce

  1. Configure WeCom (Enterprise WeChat) platform in Hermes profile
  2. Attempt to send a PDF file via send_message tool with syntax
  3. File is not delivered; no error is raised

Environment

  • Hermes Agent version: v0.14.0 (v2026.5.16)
  • OS: WSL2 / Windows
  • Platform: WeCom (Enterprise WeChat)
  • WeCom configuration: URL callback mode with bot

Additional context

  • Text messages in WeCom work correctly
  • File attachments worked correctly before the upgrade
  • Screenshot of working file delivery in v0.13 (timestamp: Thursday): [attached]
  • The Platform Comparison table in the docs still shows WeCom with ✅ for Files support

Workarounds tried

  • Cron job delivery: also fails (no send_message tool available in cron context)
  • Direct hermes send --file: only supports text, not binary files

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/gatewayGateway runner, session dispatch, deliveryplatform/wecomWeCom / WeChat Work adaptertype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions