mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 04:16:34 +00:00
Merge branch 'main' into regression-test-init
This commit is contained in:
commit
3d4610fef4
1 file changed
+2
-3
+2
-3
@@ -343,11 +343,10 @@ class SerenaAgent:
|
||||
self._mode_overrides = modes
|
||||
if project is not None:
|
||||
try:
|
||||
self.activate_project_from_path_or_name(project, update_active_modes=True, update_active_tools=False)
|
||||
self.activate_project_from_path_or_name(project, update_active_modes=False, update_active_tools=False)
|
||||
except Exception as e:
|
||||
log.error(f"Error activating project '{project}' at startup: {e}", exc_info=e)
|
||||
else:
|
||||
self._update_active_modes()
|
||||
self._update_active_modes()
|
||||
|
||||
# determine the base toolset defining the set of exposed tools (which e.g. the MCP shall see),
|
||||
self._base_toolset = self._create_base_toolset(
|
||||
|
||||
Reference in new issue
Block a user