feat(aichat): agent reduce log evs (#1260)

This commit is contained in:
fumiama
2026-01-09 14:14:34 +08:00
committed by GitHub
parent d14e1be92b
commit b432731c9b
11 changed files with 76 additions and 67 deletions

View File

@@ -3,7 +3,6 @@ package crypter
import (
"github.com/FloatTech/AnimeAPI/airecord"
"github.com/sirupsen/logrus"
zero "github.com/wdvxdr1123/ZeroBot"
"github.com/wdvxdr1123/ZeroBot/message"
)
@@ -12,7 +11,6 @@ import (
func houEncryptHandler(ctx *zero.Ctx) {
text := ctx.State["regex_matched"].([]string)[1]
result := encodeHou(text)
logrus.Infoln("[crypter] 回复内容:", result)
recCfg := airecord.GetConfig()
record := ctx.GetAIRecord(recCfg.ModelID, recCfg.Customgid, result)
if record != "" {