Skip to content

Commit acd27b8

Browse files
committed
refactor(agent): reuse push dedup helper in parity loop
1 parent 5b3a236 commit acd27b8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎src/agent/tool-aliases.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ export function authzParityDefinitions(
105105
for (const [alias, aliasEngine] of Object.entries(ALIAS_TO_ENGINE)) {
106106
if (aliasEngine !== engine) continue;
107107
if (alias === "update_plan") continue;
108-
if (seen.has(alias)) continue;
109-
seen.add(alias);
110-
out.push({ ...def, name: alias });
108+
push({ ...def, name: alias });
111109
}
112110
}
113111
return out;

0 commit comments

Comments
 (0)