From b077873c3d7e54d68c6686c7e8399db9266a6f22 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Wed, 7 Feb 2024 08:00:16 +0200 Subject: [PATCH] parallel_calls --- pr_agent/tools/pr_code_suggestions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_agent/tools/pr_code_suggestions.py b/pr_agent/tools/pr_code_suggestions.py index de922730..b944047e 100644 --- a/pr_agent/tools/pr_code_suggestions.py +++ b/pr_agent/tools/pr_code_suggestions.py @@ -240,7 +240,7 @@ class PRCodeSuggestions: prediction_list = [] for i, patches_diff in enumerate(patches_diff_list): get_logger().info(f"Processing chunk {i + 1} of {len(patches_diff_list)}") - prediction = await self._get_prediction(model, patches_diff) # toDo: parallelize + prediction = await self._get_prediction(model, patches_diff) prediction_list.append(prediction) data = {}