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 = {