Do not include hidden agents in ACP (#5791)

This commit is contained in:
José Valim
2025-12-19 15:56:12 +01:00
committed by Aiden Cline
parent f02d1ef4a1
commit cdb7949280

View File

@@ -698,7 +698,7 @@ export namespace ACP {
})
const availableModes = agents
.filter((agent) => agent.mode !== "subagent")
.filter((agent) => agent.mode !== "subagent" && !agent.hidden)
.map((agent) => ({
id: agent.name,
name: agent.name,