mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
Initialize MCP tools once at start up instead of every time we auth. (#3483)
This commit is contained in:
committed by
GitHub
parent
aa10ccba71
commit
357546a2aa
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user