We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d322d57 commit 2256f89Copy full SHA for 2256f89
1 file changed
aider/coders/architect_coder.py
@@ -42,6 +42,14 @@ async def reply_completed(self):
42
kwargs["cache_prompts"] = False
43
kwargs["num_cache_warming_pings"] = 0
44
kwargs["summarize_from_coder"] = False
45
+ kwargs["mcp_servers"] = [] # Empty to skip initialization
46
+
47
+ coder = await Coder.create(**kwargs)
48
+ # Transfer MCP state to avoid re-initialization
49
+ coder.mcp_servers = self.mcp_servers
50
+ coder.mcp_tools = self.mcp_tools
51
+ # Transfer TUI app weak reference
52
+ coder.tui = self.tui
53
54
new_kwargs = dict(io=self.io, from_coder=self)
55
new_kwargs.update(kwargs)
0 commit comments