diff --git a/crawl4ai/content_filter_strategy.py b/crawl4ai/content_filter_strategy.py index 50baed276..01750bf53 100644 --- a/crawl4ai/content_filter_strategy.py +++ b/crawl4ai/content_filter_strategy.py @@ -571,7 +571,7 @@ def __init__( threshold_type (str): Threshold type for dynamic threshold (default: 'fixed'). threshold (float): Fixed threshold value (default: 0.48). """ - super().__init__(None) + super().__init__(user_query=user_query) self.min_word_threshold = min_word_threshold self.threshold_type = threshold_type self.threshold = threshold @@ -823,7 +823,7 @@ def __init__( api_base: Optional[str] = None, extra_args: Dict = None, ): - super().__init__(None) + super().__init__(user_query=user_query) self.provider = provider self.api_token = api_token self.base_url = base_url or api_base