From 4380ac3ae91f68b4f6ef620bf6943e980b0fa885 Mon Sep 17 00:00:00 2001 From: Michael Panchenko Date: Mon, 7 Apr 2025 21:40:19 +0200 Subject: [PATCH] Default for gui_log_window back to true Added explanation on limitations with linux or other clients --- serena_config.template.yml | 5 ++++- src/serena/agent.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/serena_config.template.yml b/serena_config.template.yml index 99514c85..5aa220b9 100644 --- a/serena_config.template.yml +++ b/serena_config.template.yml @@ -28,7 +28,10 @@ projects: # previous instances. This leads to multiple log windows being opened, and only the last # window being updated. Since we can't control how agno or Claude Desktop start Serena, # we have to live with this limitation for now. -gui_log_window: False +# +# Limitations: doesn't seem to work with the community version of Claude Desktop for Linux +# Might also cause problems with some MCP clients - if you have any issues, try disabling this +gui_log_window: True # minimum log level for the GUI log window (10 = debug, 20 = info, 30 = warning, 40 = error) gui_log_level: 20 diff --git a/src/serena/agent.py b/src/serena/agent.py index a8dca604..6a86c338 100644 --- a/src/serena/agent.py +++ b/src/serena/agent.py @@ -124,7 +124,7 @@ class SerenaConfig: self.projects[project_config.project_name] = project_config self.project_names = list(self.projects.keys()) - self.gui_log_window_enabled = config_yaml.get("gui_log_window", False) + self.gui_log_window_enabled = config_yaml.get("gui_log_window", True) self.gui_log_window_level = config_yaml.get("gui_log_level", logging.INFO) self.enable_project_activation = config_yaml.get("enable_project_activation", True)