From 76bb57963819ea756098b51b32cbf3465ff72392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sat, 3 Jan 2026 22:44:59 +0800 Subject: [PATCH] fix: data raw json syntax --- agent.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/agent.go b/agent.go index 8ce6ef8..125956f 100644 --- a/agent.go +++ b/agent.go @@ -261,6 +261,7 @@ func (ag *Agent) GetAction(api deepinfra.API, p model.Protocol, grp int64, role logrus.Debugln("[goba] GetAction extract memory err:", err) ag.AddResponse(grp, &APIResponse{ Status: "error", + Data: []byte(`""`), Message: err.Error(), }) continue @@ -277,6 +278,7 @@ func (ag *Agent) GetAction(api deepinfra.API, p model.Protocol, grp int64, role logrus.Debugln("[goba] GetAction add memory response:", s, "msg:", msg) ag.AddResponse(grp, &APIResponse{ Status: s, + Data: []byte(`""`), Message: msg, }) }