pull/5462/head
Dax Raad 2025-12-12 15:13:24 -05:00
parent 167709c48e
commit f928325a1b
1 changed files with 2 additions and 2 deletions

View File

@ -227,8 +227,8 @@ const AgentListCommand = cmd({
async fn() {
const agents = await Agent.list()
const sortedAgents = agents.sort((a, b) => {
if (a.builtIn !== b.builtIn) {
return a.builtIn ? -1 : 1
if (a.internal !== b.internal) {
return a.internal ? -1 : 1
}
return a.name.localeCompare(b.name)
})