mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-01 11:56:24 +02:00
update make_tools.
This commit is contained in:
parent
be47f6171d
commit
b43cdb23f7
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ class MLEngineer(Role):
|
|||
# tool_code = await make_tools.run(code_prompt)
|
||||
tool_code = await make_tools.run(code)
|
||||
_, success = await self.execute_code.run(tool_code)
|
||||
make_tool_retries += 1
|
||||
make_tool_current_retry += 1
|
||||
if make_tool_current_retry > make_tool_retries:
|
||||
logger.error(f"We have tried the maximum number of attempts {make_tool_retries}\
|
||||
and still have not created tools for task_id {self.plan.current_task_id} successfully,\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue