From 05fef7926fbf26c7949ac75a50ea56a028c6700e Mon Sep 17 00:00:00 2001 From: iris Date: Sun, 15 Nov 2026 19:47:53 +0100 Subject: [PATCH] swarm-controller: the commands route's 503 is only an unreachable queue --- swarm-controller/src/agent_commands.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/swarm-controller/src/agent_commands.rs b/swarm-controller/src/agent_commands.rs index 91263a276..a69b1016a 100644 --- a/swarm-controller/src/agent_commands.rs +++ b/swarm-controller/src/agent_commands.rs @@ -83,13 +83,13 @@ fn build(published: Option) -> Vec { params(("name" = String, Path, description = "agent whose commands to list")), responses( (status = 200, description = "the swarm's own commands, then the skills the agent's \ - harness published, for the message box's command menu; just the swarm's commands \ + when the agent has published none and on a host with no swarm queue", when the agent has published none", body = Vec), (status = 400, description = "the agent name is not shaped like an identifier \ (problem+json)", body = String), - (status = 503, description = "no swarm queue is configured on this host, or the \ - queue could not be reached (problem+json)", body = String), + (status = 503, description = "the swarm queue could not be reached \ + (problem+json)", body = String), (status = 500, description = "reading the agent's skills failed (problem+json)", body = String), ),