From 1406672b8d2aacee151d53ce4061ebc3688bb8e9 Mon Sep 17 00:00:00 2001 From: FuQuan233 Date: Fri, 21 Feb 2025 09:46:00 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20modify=20forwarding=20node?= =?UTF-8?q?s=20to=20be=20onebot=20v11=20compliant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_llmchat/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nonebot_plugin_llmchat/__init__.py b/nonebot_plugin_llmchat/__init__.py index 2d3bdc3..96cce19 100644 --- a/nonebot_plugin_llmchat/__init__.py +++ b/nonebot_plugin_llmchat/__init__.py @@ -133,16 +133,16 @@ def build_reasoning_forward_nodes(self_id: str, reasoning_content: str): { "type": "node", "data": { - "name": self_nickname, - "uin": self_id, + "nickname": self_nickname, + "user_id": self_id, "content": f"{self_nickname}的内心OS:", }, }, { "type": "node", "data": { - "name": self_nickname, - "uin": self_id, + "nickname": self_nickname, + "user_id": self_id, "content": reasoning_content, }, },