结构修改

This commit is contained in:
renzhiyuan 2025-09-28 14:17:41 +08:00
parent b0629a3120
commit 4fb50a9051
1 changed files with 3 additions and 2 deletions

View File

@ -238,11 +238,12 @@ func (r *AiRouterBiz) handleOtherTask(c *websocket.Conn, ch chan entitys.Respons
func (r *AiRouterBiz) handleMatch(ctx context.Context, c *websocket.Conn, ch chan entitys.Response, matchJson *entitys.Match, tasks []model.AiTask, sysInfo model.AiSy) (err error) {
if !matchJson.IsMatch {
ch <- entitys.Response{
_ = entitys.MsgSend(c, entitys.Response{
Index: "",
Content: matchJson.Reasoning,
Type: entitys.ResponseText,
}
})
return
}
var pointTask *model.AiTask