加入了openclaw插件,用于与openclaw对接

This commit is contained in:
liuwei
2026-03-03 09:34:43 +08:00
parent 8ed2e7ce58
commit 83e29e4438

View File

@@ -185,6 +185,7 @@ class OpenClawPlugin(MessagePluginInterface):
return jsonify({"error": "unauthorized"}), 401
data = request.get_json(silent=True) or {}
logger.debug("openclaw data:{data}")
to = data.get("to")
text = data.get("text") or data.get("content")
reply_to = data.get("replyToMessageId")