fix(app): show selector for custom agents (#37198)

Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
This commit is contained in:
Brendan Allan
2026-07-16 08:44:47 +08:00
committed by GitHub
co-authored by opencode-agent[bot]
parent 888c4cb504
commit 4a760b5743
5 changed files with 46 additions and 9 deletions
@@ -41,7 +41,7 @@ export function createPromptInputController(input: {
options: local.agent.list().map((agent) => agent.name),
current: local.agent.current()?.name ?? "",
loading: agentsQuery.isLoading,
visible: settings.visibility.customAgents(),
visible: local.agent.visible(),
select: local.agent.set,
},
model: {