Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

retry 2

stellaHSRe32f9e76ed22
diff --git a/metagpt/actions/action.py b/metagpt/actions/action.py
index 948185e45..29c10d827 100644
--- a/metagpt/actions/action.py
+++ b/metagpt/actions/action.py
@@ -46,7 +46,7 @@ class Action(ABC):
system_msgs.append(self.prefix)
return await self.llm.aask(prompt, system_msgs)
- @retry(stop=stop_after_attempt(1), wait=wait_fixed(1))
+ @retry(stop=stop_after_attempt(2), wait=wait_fixed(1))
async def _aask_v1(self, prompt: str, output_class_name: str,
output_data_mapping: dict,
system_msgs: Optional[list[str]] = None) -> ActionOutput: