mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-11 00:32:37 +02:00
chore
This commit is contained in:
parent
ee1e8609a6
commit
0278934131
1 changed files with 0 additions and 1 deletions
|
|
@ -49,7 +49,6 @@ class MakeTools(WriteCodeByGenerate):
|
|||
saved_path = Path(self.workspace).joinpath(func_name+self.file_suffix)
|
||||
logger.info(f"Saved tool_code {func_name} in {str(saved_path)}.")
|
||||
saved_path.write_text(tool_code, encoding='utf-8')
|
||||
# TODO: 保存到udf中,供WriteCodeWithMakeTools使用
|
||||
|
||||
@retry(stop=stop_after_attempt(3), wait=wait_fixed(1))
|
||||
async def run(self, code_message: List[Message | Dict], **kwargs) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue