mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-12 22:14:54 +00:00
ActivateProjectTool: Return instructions to read manual also if project is already activated
This commit is contained in:
1 parent
b0fd895794
commit
e35c09842f
1 file changed
+3
-2
@@ -30,8 +30,9 @@ class ActivateProjectTool(Tool, ToolMarkerDoesNotRequireActiveProject):
|
||||
"""
|
||||
is_new_activation = self.agent.activate_project_from_path_or_name(project)
|
||||
if not is_new_activation:
|
||||
return "Project was already active."
|
||||
result = self.agent.get_project_activation_message()
|
||||
result = "Project was already active."
|
||||
else:
|
||||
result = self.agent.get_project_activation_message()
|
||||
result += "\nIMPORTANT: If you have not yet read the 'Serena Instructions Manual', do it now before continuing!"
|
||||
return result
|
||||
|
||||
|
||||
Reference in new issue
Block a user