summaryrefslogtreecommitdiff
path: root/packages/core/src/tools/tool-registry.ts
diff options
context:
space:
mode:
authorTommaso Sciortino <[email protected]>2025-07-07 15:01:59 -0700
committerGitHub <[email protected]>2025-07-07 22:01:59 +0000
commit357546a2aac918702f6ebfa4a97bd95ccd614e5d (patch)
tree27a7bc0967c0177533d2eb61989bc5bd26326833 /packages/core/src/tools/tool-registry.ts
parentaa10ccba713d49bef6bf474bfd72c0852e3da611 (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.ts2
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
}
}