Skip to content

Commit

Permalink
parallel_calls
Browse files Browse the repository at this point in the history
  • Loading branch information
mrT23 committed Feb 7, 2024
1 parent a7ce2b1 commit b077873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr_agent/tools/pr_code_suggestions.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ async def _prepare_prediction_extended(self, model: str) -> dict:
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 = {}
Expand Down

0 comments on commit b077873

Please sign in to comment.