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 GitHub
parent 203581e82f
commit 0d472a49a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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,