fix: satisfy multi-agent bridge lint

This commit is contained in:
Haitao Pan 2026-05-18 16:57:17 +08:00
parent 760a8c0f3b
commit d0561c6ac3

View File

@ -51,10 +51,7 @@ func isMultiAgentSessionRequest(params map[string]any) bool {
return true
}
routing := shared.AsMap(params["routing"])
if strings.TrimSpace(shared.StringArg(routing, "orchestrationMode", "")) != "" {
return true
}
return false
return strings.TrimSpace(shared.StringArg(routing, "orchestrationMode", "")) != ""
}
func (o *SessionOrchestrator) ProcessMultiAgent(ctx context.Context, method string, params map[string]any, notify func(map[string]any)) (map[string]any, *shared.RPCError) {