1
0
mirror of https://github.com/fumiama/go-onebot-agent.git synced 2026-06-19 10:10:26 +08:00

feat: leak SVM req

This commit is contained in:
源文雨
2026-01-03 21:56:56 +08:00
parent 2def0c7108
commit fb32901fa6

View File

@@ -266,6 +266,7 @@ func (ag *Agent) GetAction(api deepinfra.API, p model.Protocol, grp int64, role
}) })
continue continue
} }
logrus.Debugln("[goba] GetAction add memory:", txt, "to grp:", grp)
err = ag.AddMemory(grp, txt) err = ag.AddMemory(grp, txt)
s := "ok" s := "ok"
msg := "" msg := ""
@@ -274,11 +275,11 @@ func (ag *Agent) GetAction(api deepinfra.API, p model.Protocol, grp int64, role
s = "error" s = "error"
msg = err.Error() msg = err.Error()
} }
logrus.Debugln("[goba] GetAction add memory response:", s, "msg:", msg)
ag.AddResponse(grp, &APIResponse{ ag.AddResponse(grp, &APIResponse{
Status: s, Status: s,
Message: msg, Message: msg,
}) })
continue
} }
} }
reqs = append(reqs, r) reqs = append(reqs, r)