diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts index d918de04..a4b47cdd 100644 --- a/packages/core/src/config/config.ts +++ b/packages/core/src/config/config.ts @@ -243,7 +243,7 @@ export function createToolRegistry(config: Config): ToolRegistry { // eslint-disable-next-line @typescript-eslint/no-explicit-any const registerCoreTool = (ToolClass: any, ...args: unknown[]) => { // check both the tool name (.Name) and the class name (.name) - if (!tools || tools.has(ToolClass.Name) || tools.has(ToolClass.name)) { + if (!tools || tools.has(ToolClass.Name)) { registry.registerTool(new ToolClass(...args)); } };