diff --git a/plugins/pii_filter/pii_filter.py b/plugins/pii_filter/pii_filter.py index 69609c06e..35016804b 100644 --- a/plugins/pii_filter/pii_filter.py +++ b/plugins/pii_filter/pii_filter.py @@ -711,7 +711,7 @@ def _process_nested_data_for_pii(self, data: Any, path: str, all_detections: dic all_detections[path] = detections self.detection_count += sum(len(items) for items in detections.values()) has_detections = True - + modified = True if self.pii_config.log_detections: logger.warning(f"PII detected in tool result at '{path}': {', '.join(detections.keys())}")