diff options
| author | Tommaso Sciortino <[email protected]> | 2025-07-07 15:01:59 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-07 22:01:59 +0000 |
| commit | 357546a2aac918702f6ebfa4a97bd95ccd614e5d (patch) | |
| tree | 27a7bc0967c0177533d2eb61989bc5bd26326833 /packages/core/src/tools/tool-registry.ts | |
| parent | aa10ccba713d49bef6bf474bfd72c0852e3da611 (diff) | |
Initialize MCP tools once at start up instead of every time we auth. (#3483)
Diffstat (limited to 'packages/core/src/tools/tool-registry.ts')
| -rw-r--r-- | packages/core/src/tools/tool-registry.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/core/src/tools/tool-registry.ts b/packages/core/src/tools/tool-registry.ts index bc628f03..1778c6d6 100644 --- a/packages/core/src/tools/tool-registry.ts +++ b/packages/core/src/tools/tool-registry.ts @@ -154,8 +154,6 @@ export class ToolRegistry { for (const tool of this.tools.values()) { if (tool instanceof DiscoveredTool || tool instanceof DiscoveredMCPTool) { this.tools.delete(tool.name); - } else { - // Keep manually registered tools } } |
