mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
chore
This commit is contained in:
parent
e67c679b1c
commit
ea84fd34cd
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class MakeTools(WriteCodeByGenerate):
|
|||
logger.info(f"Saved tool_code {func_name} in {str(saved_path)}.")
|
||||
saved_path.write_text(tool_code, encoding='utf-8')
|
||||
|
||||
# @retry(stop=stop_after_attempt(3), wait=wait_fixed(1))
|
||||
@retry(stop=stop_after_attempt(3), wait=wait_fixed(1))
|
||||
async def run(self, code_message: List[Message | Dict], **kwargs) -> str:
|
||||
msgs = self.process_msg(code_message)
|
||||
logger.info(f"Ask: {msgs[-1]}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue