Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/opencode/src/acp/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -973,11 +973,12 @@ export namespace ACP {
.then((resp) => resp.data!)

return agents
.filter((agent) => agent.mode !== "subagent" && !agent.hidden)
.filter((agent) => !agent.hidden)
.map((agent) => ({
id: agent.name,
name: agent.name,
description: agent.description,
mode: agent.mode,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ModeOption doesnt even have a mode field

also I dont understand, why would a subagent be in the selectable list. That seems inconsistent

}))
}

Expand Down
Loading