ghmark675

refactor(InsightEngine): change _cluster_and_sample_results() params default value

@@ -127,7 +127,10 @@ class DeepSearchAgent: @@ -127,7 +127,10 @@ class DeepSearchAgent:
127 return False 127 return False
128 128
129 def _cluster_and_sample_results( 129 def _cluster_and_sample_results(
130 - self, results: List, max_results: int = 50, results_per_cluster: int = 5 130 + self,
  131 + results: List,
  132 + max_results: int = MAX_CLUSTERED_RESULTS,
  133 + results_per_cluster: int = RESULTS_PER_CLUSTER,
131 ) -> List: 134 ) -> List:
132 """ 135 """
133 对搜索结果进行聚类并采样 136 对搜索结果进行聚类并采样