File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ def user_register(
545545 user_config = self ._create_user_config (user_id , user_config )
546546
547547 # Create a default cube for the user using MOSCore's methods
548- default_cube_name = f"{ user_name } _default_cube"
548+ default_cube_name = f"{ user_name } _ { user_id } _default_cube"
549549 mem_cube_name_or_path = f"{ CUBE_PATH } /{ default_cube_name } "
550550 default_cube_id = self .create_cube_for_user (
551551 cube_name = default_cube_name , owner_id = user_id , cube_path = mem_cube_name_or_path
@@ -562,7 +562,7 @@ def user_register(
562562 mem_cube_name_or_path_or_object = default_mem_cube ,
563563 mem_cube_id = default_cube_id ,
564564 user_id = user_id ,
565- memory_types = ["act_mem" ]
565+ memory_types = ["act_mem" ] if self . config . enable_activation_memory else []
566566 )
567567
568568 # Add interests to the default cube if provided
You can’t perform that action at this time.
0 commit comments