From 982b7faeaa2e18c2c17432db875868a714534bc9 Mon Sep 17 00:00:00 2001 From: lxowalle Date: Mon, 9 Mar 2026 16:34:29 +0800 Subject: [PATCH] * update comment --- pkg/agent/loop.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/agent/loop.go b/pkg/agent/loop.go index ae8dcfeb7..3d13071c0 100644 --- a/pkg/agent/loop.go +++ b/pkg/agent/loop.go @@ -617,8 +617,6 @@ func (al *AgentLoop) processMessage(ctx context.Context, msg bus.InboundMessage) SendResponse: false, } - // Commands are checked before requiring a successful route. - // Global commands (/help, /show, /switch) work even when routing fails; // context-dependent commands check their own Runtime fields and report // "unavailable" when the required capability is nil. if response, handled := al.handleCommand(ctx, msg, agent, &opts); handled {