diff --git a/src/A_memorix/core/utils/search_execution_service.py b/src/A_memorix/core/utils/search_execution_service.py index 651ff417..f05c4820 100644 --- a/src/A_memorix/core/utils/search_execution_service.py +++ b/src/A_memorix/core/utils/search_execution_service.py @@ -325,7 +325,7 @@ class SearchExecutionService: relation_hashes = [ item.hash_value for item in retrieved - if item.result_type == "relation" + if getattr(item, "result_type", "") == "relation" ] if relation_hashes: await plugin_instance.reinforce_access(relation_hashes)