Merge pull request #3330 from codeg-dev/fix/isplan-display-name-getAgentConfigKey

fix(delegate-task): apply getAgentConfigKey normalization to isPlanAgent
This commit is contained in:
YeonGyu-Kim
2026-05-15 19:57:41 +09:00
committed by GitHub
2 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ export const PLAN_AGENT_NAMES = ["plan"]
*/
export function isPlanAgent(agentName: string | undefined): boolean {
if (!agentName) return false
const lowerName = agentName.toLowerCase().trim()
const lowerName = getAgentConfigKey(agentName).toLowerCase().trim()
return PLAN_AGENT_NAMES.some(name => lowerName === name)
}