Skip to content

[Bug]: dingtalk channle callback error #11463

@sgjeff

Description

@sgjeff

Bug Description

有人成功使用dingtalk 进行交互了么? dingtalk 目前碰到下列问题,能接收到dingtalk发送的消息,但是回复失败!!!

tail -10 ~/.hermes/logs/agent.log && echo "---ERRORS---" && tail -5 ~/.hermes/logs/errors.log
收到消息了,但回复失败了!错误是 No session_webhook available

消息收到了但回复发不出去 -- 问题在 `ChatbotMessage.from_dict(message.data)` 转换时,`session_webhook` 字段没有被正确提取。让我看看完整的回调数据结构:

Steps to Reproduce

  1. use dingtalk send "hello"

Expected Behavior

  1. use dingtalk send "hello"

Actual Behavior

  1. use dingtalk send "hello"

Affected Component

CLI (interactive chat)

Messaging Platform (if gateway-related)

No response

Debug Report

tail -10 ~/.hermes/logs/agent.log && echo "---ERRORS---" && tail -5 ~/.hermes/logs/errors.log
   收到消息了,但回复失败了!错误是 `No session_webhook available`。

    消息收到了但回复发不出去 -- 问题在 `ChatbotMessage.from_dict(message.data)` 转换时,`session_webhook` 字段没有被正确提取。让我看看完整的回调数据结构:

Operating System

macos 14.2

Python Version

Python: 3.11.13

Hermes Version

Hermes Agent v0.10.0 (2026.4.16)

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/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