结构修改
This commit is contained in:
parent
b0629a3120
commit
4fb50a9051
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue