From 99447d332dbcc1dda5965b7b1168082f60aa5ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AF=BB=E6=AC=A2?= Date: Fri, 12 Apr 2024 11:40:40 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=80=BB=E7=BB=93=E7=BE=A4=E8=81=8A?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E4=B8=8D=E8=B6=B3100=E6=9D=A1=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E7=9A=84=E4=B8=8D=E6=80=BB=E7=BB=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/summary/summary.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/summary/summary.go b/tasks/summary/summary.go index 0f27f820..d00df858 100644 --- a/tasks/summary/summary.go +++ b/tasks/summary/summary.go @@ -28,10 +28,10 @@ func AiSummary() { log.Printf("获取群[%s]对话记录失败, 错误信息: %v", group.Wxid, err) continue } - //if len(records) < 100 { - // log.Printf("群[%s]对话记录不足100条,跳过总结", group.Wxid) - // continue - //} + if len(records) < 100 { + log.Printf("群[%s]对话记录不足100条,跳过总结", group.Wxid) + continue + } // 组装对话记录为字符串 var content []string for _, record := range records {