File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,9 +99,10 @@ i.e. the folder that is activated in Serena should correspond to the root folder
9999
100100## Onboarding & Memories
101101
102- By default, Serena comes with a simple memory and onboarding system that helps
103- your agent to navigate your codebase.
104- For detailed information on this, including how to manage
102+ Serena comes with a simple memory system. By default, Serena will start with an onboarding
103+ process when a project is activated for the first time, getting familiar with the codebase and
104+ storing memories.
105+ For more information on this, including how to manage
105106or disable these features, see the [ Memories & Onboarding] ( memories-onboarding-doc ) .
106107
107108
Original file line number Diff line number Diff line change @@ -386,9 +386,6 @@ def get_memory_log_handler() -> MemoryLogHandler:
386386 if self ._gui_log_viewer is not None :
387387 self ._gui_log_viewer .set_dashboard_url (dashboard_url )
388388
389- def edit_global_memories_allowed (self ) -> bool :
390- return self .serena_config .edit_global_memories
391-
392389 def get_language_backend (self ) -> LanguageBackend :
393390 return self ._language_backend
394391
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def _is_global_memory(memory_name: str) -> bool:
1313 return MemoriesManager .is_global_memory (memory_name )
1414
1515 def _raise_if_global_and_edit_not_allowed (self , memory_name : str ) -> None :
16- if not self .agent .edit_global_memories_allowed () and self ._is_global_memory (memory_name ):
16+ if not self .agent .serena_config . edit_global_memories and self ._is_global_memory (memory_name ):
1717 raise ValueError ("Editing global memories is disabled (edit_global_memories: false in serena_config.yml)." )
1818
1919
You can’t perform that action at this time.
0 commit comments