mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-11 03:13:51 +00:00
ProjectServer: Use general headless mode config overrides
This commit is contained in:
1 parent
f90d488309
commit
ed401769b5
1 file changed
+1
-3
@@ -55,9 +55,7 @@ class ProjectServer:
|
||||
if port is None:
|
||||
port = self.PORT
|
||||
|
||||
serena_config = SerenaConfig.from_config_file()
|
||||
serena_config.gui_log_window = False
|
||||
serena_config.web_dashboard = False
|
||||
serena_config = SerenaConfig.from_config_file().with_headless_mode_overrides()
|
||||
serena_config.language_backend = LanguageBackend.LSP
|
||||
|
||||
self._agent = SerenaAgent(serena_config=serena_config)
|
||||
|
||||
Reference in new issue
Block a user