diff --git a/src/chat/memory_system/Hippocampus.py b/src/chat/memory_system/Hippocampus.py index 5f84a10ff..457b00de8 100644 --- a/src/chat/memory_system/Hippocampus.py +++ b/src/chat/memory_system/Hippocampus.py @@ -410,7 +410,7 @@ class Hippocampus: visited_nodes.add(neighbor) nodes_to_process.append((neighbor, new_activation, current_depth + 1)) # logger.debug( - # f"节点 '{neighbor}' 被激活,激活值: {new_activation:.2f} (通过 '{current_node}' 连接,强度: {strength}, 深度: {current_depth + 1})" + # f"节点 '{neighbor}' 被激活,激活值: {new_activation:.2f} (通过 '{current_node}' 连接,强度: {strength}, 深度: {current_depth + 1})" # ) # noqa: E501 # 更新激活映射 @@ -581,7 +581,7 @@ class Hippocampus: visited_nodes.add(neighbor) nodes_to_process.append((neighbor, new_activation, current_depth + 1)) # logger.debug( - # f"节点 '{neighbor}' 被激活,激活值: {new_activation:.2f} (通过 '{current_node}' 连接,强度: {strength}, 深度: {current_depth + 1})" + # f"节点 '{neighbor}' 被激活,激活值: {new_activation:.2f} (通过 '{current_node}' 连接,强度: {strength}, 深度: {current_depth + 1})" # ) # noqa: E501 # 更新激活映射 diff --git a/src/common/logger.py b/src/common/logger.py index a788f193e..067056c9f 100644 --- a/src/common/logger.py +++ b/src/common/logger.py @@ -154,7 +154,7 @@ MODULE_COLORS = { "memory": "\033[34m", "hfc": "\033[96m", "base_action": "\033[96m", - "action_manager": "\033[34m]" + "action_manager": "\033[34m]", } RESET_COLOR = "\033[0m"