mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-23 12:54:42 +00:00
Do not include hidden agents in ACP (#5791)
This commit is contained in:
parent
f02d1ef4a1
commit
cdb7949280
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue