mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
chore
This commit is contained in:
parent
526025bbe3
commit
54a08747db
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ class CodeInterpreter(Role):
|
|||
if ReviewConst.CHANGE_WORD[0] in review:
|
||||
counter = 0 # redo the task again with help of human suggestions
|
||||
|
||||
return code["code"] if code.get("language", None) != "markdown" else "", result, success
|
||||
return code["code"] if code.get("language") != "markdown" else "", result, success
|
||||
|
||||
async def _write_code(self):
|
||||
todo = WriteCodeByGenerate() if not self.use_tools else WriteCodeWithTools(selected_tools=self.tools)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue