结构修改
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) {
|
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 {
|
if !matchJson.IsMatch {
|
||||||
ch <- entitys.Response{
|
_ = entitys.MsgSend(c, entitys.Response{
|
||||||
Index: "",
|
Index: "",
|
||||||
Content: matchJson.Reasoning,
|
Content: matchJson.Reasoning,
|
||||||
Type: entitys.ResponseText,
|
Type: entitys.ResponseText,
|
||||||
}
|
})
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
var pointTask *model.AiTask
|
var pointTask *model.AiTask
|
||||||
|
|
Loading…
Reference in New Issue