1
0
mirror of https://github.com/fumiama/go-onebot-agent.git synced 2026-06-05 02:00:23 +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
}
logrus.Debugln("[goba] GetAction add memory:", txt, "to grp:", grp)
err = ag.AddMemory(grp, txt)
s := "ok"
msg := ""
@@ -274,11 +275,11 @@ func (ag *Agent) GetAction(api deepinfra.API, p model.Protocol, grp int64, role
s = "error"
msg = err.Error()
}
logrus.Debugln("[goba] GetAction add memory response:", s, "msg:", msg)
ag.AddResponse(grp, &APIResponse{
Status: s,
Message: msg,
})
continue
}
}
reqs = append(reqs, r)