From 8f88e1bd9b236538bd84e496668d87d403a67715 Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 21 May 2025 17:27:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=85=B3=E9=94=AE=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/ai_auto_response/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ai_auto_response/main.py b/plugins/ai_auto_response/main.py index ab01958..46b9374 100644 --- a/plugins/ai_auto_response/main.py +++ b/plugins/ai_auto_response/main.py @@ -172,7 +172,7 @@ class AIAutoResponsePlugin(MessagePluginInterface): context = "\n".join(context_messages) # 构建提示词 - prompt = f"请根据以下群聊上下文,生成一个自然、友好的回复。\n\n上下文:\n{context}\n\n当前话题类型:{topic_type or '一般聊天'}\n\n请生成回复:" + prompt = f"请根据以下群聊上下文,生成一个自然、友好的回复,主要关注最后一句消息,前面的作为参考信息。\n上下文:\n{context}\n\n当前话题类型:{topic_type or '一般聊天'}\n\n请生成回复:" # 调用DIFY API headers = {