From 995f825f54545152d7c6ce03df79ef3d4e1d40f5 Mon Sep 17 00:00:00 2001 From: ClovertaTheTrilobita Date: Mon, 15 Dec 2025 02:56:25 +0000 Subject: [PATCH] =?UTF-8?q?fix(ai=5Fchat):=20=E8=B0=83=E6=95=B4=E9=99=90?= =?UTF-8?q?=E5=88=B6=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/clover_sqlite/models/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clover_sqlite/models/chat.py b/src/clover_sqlite/models/chat.py index 48ebc49..de460bf 100644 --- a/src/clover_sqlite/models/chat.py +++ b/src/clover_sqlite/models/chat.py @@ -238,7 +238,7 @@ class GroupChatRole(Model): if len(history.role_chat_history) > 5: history.role_chat_history.pop(2) - data = {"role": "system", "content": "你现在在qq群聊聊天,回复一定要口语化(这非常重要),回复尽可能在10字以内,禁止超出50字。"} + data = {"role": "system", "content": "你现在在qq群聊聊天,回复一定要口语化(这非常重要),回复尽可能在30字以内"} history.role_chat_history.append(data) print(history.role_chat_history) await history.save()