Commit 5964457
committed
refactor: remove redundant alias registration loop
The loop in filterNativeToolsForMode that registers alias renames
for tools that are allowed and explicitly requested as aliases is
redundant. This logic is already handled in applyModelToolCustomization
at lines 195-205, which adds alias renames when processing includedTools.
The removed code was iterating over modelInfo.includedTools a second time
to add the same entries to aliasRenames that applyModelToolCustomization
had already added.1 parent 2753783 commit 5964457
1 file changed
+0
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | 270 | | |
281 | 271 | | |
282 | 272 | | |
| |||
0 commit comments