Do not include hidden agents in ACP (#5791)

thinking-toggle-wip
José Valim 2025-12-19 15:56:12 +01:00 committed by Aiden Cline
parent f02d1ef4a1
commit cdb7949280
1 changed files with 1 additions and 1 deletions

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,