fix(mcp): configure mcp_client after files are loaded
_load_active_project() was calling _configure_mcp_for_project() BEFORE _refresh_from_project() which populates self.files. Now it calls _refresh_from_project() first so mcp_client gets configured with the actual file list that includes gencpp paths.
This commit is contained in:
@@ -1544,6 +1544,7 @@ class AppController:
|
||||
self.active_project_path = fallback_path
|
||||
if fallback_path not in self.project_paths:
|
||||
self.project_paths.append(fallback_path)
|
||||
self._refresh_from_project()
|
||||
self._configure_mcp_for_project()
|
||||
|
||||
def _prune_old_logs(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user