mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-15 20:35:17 +00:00
parallel_calls
This commit is contained in:
parent
a7ce2b11b4
commit
b077873c3d
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ class PRCodeSuggestions:
|
||||||
prediction_list = []
|
prediction_list = []
|
||||||
for i, patches_diff in enumerate(patches_diff_list):
|
for i, patches_diff in enumerate(patches_diff_list):
|
||||||
get_logger().info(f"Processing chunk {i + 1} of {len(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)
|
prediction_list.append(prediction)
|
||||||
|
|
||||||
data = {}
|
data = {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue