fix: remove redundant import in _switch_project (mcp_client already imported at top)
This commit is contained in:
@@ -2347,7 +2347,6 @@ class AppController:
|
||||
self.ai_status = f"failed to load project: {e}"
|
||||
return
|
||||
self._refresh_from_project()
|
||||
import mcp_client
|
||||
file_items_as_dicts = [{"path": f.path if hasattr(f, "path") else str(f)} for f in self.files]
|
||||
mcp_client.configure(file_items_as_dicts, [str(new_root)])
|
||||
self.ai_status = f"switched to: {Path(path).stem}"
|
||||
|
||||
Reference in New Issue
Block a user