mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 02:14:49 +00:00
Formatting
This commit is contained in:
1 parent
4f6feb60f2
commit
02174d789a
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -324,7 +324,7 @@ class SerenaAgent:
|
||||
self._context = context
|
||||
self._modes = modes
|
||||
log.info(f"Loaded tools ({len(self._all_tools)}): {', '.join([tool.get_name() for tool in self._all_tools.values()])}")
|
||||
|
||||
|
||||
self._active_tools: dict[type[Tool], Tool] = {}
|
||||
self._update_active_tools()
|
||||
|
||||
@@ -416,7 +416,7 @@ class SerenaAgent:
|
||||
log.info(f"Activating {project_config}")
|
||||
self.project_config = project_config
|
||||
self._update_active_tools()
|
||||
|
||||
|
||||
# start the language server
|
||||
self.reset_language_server()
|
||||
assert self.language_server is not None
|
||||
|
||||
+2
-2
@@ -76,7 +76,7 @@ class SerenaAgnoAgentProvider:
|
||||
|
||||
# Add arguments to the group, both pointing to the same destination
|
||||
group.add_argument(
|
||||
"--project-file",
|
||||
"--project-file",
|
||||
required=False,
|
||||
help="Path to the project (or project.yml file).",
|
||||
)
|
||||
@@ -87,7 +87,7 @@ class SerenaAgnoAgentProvider:
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
args_project_file = args.project or args.project_file
|
||||
args_project_file = args.project or args.project_file
|
||||
|
||||
if args_project_file:
|
||||
project_file = Path(args_project_file).resolve()
|
||||
|
||||
Reference in new issue
Block a user