fix conflict

This commit is contained in:
lidanyang 2023-12-14 10:34:15 +08:00
parent 2a3f23ec62
commit d84e9cae2c
2 changed files with 8 additions and 10 deletions

View file

@ -159,12 +159,12 @@ class MLEngineer(Role):
# print("*" * 10)
# breakpoint()
if counter > 0:
improve_code = await DebugCode().run(plan=self.plan.current_task.instruction,
# finished_code=code_context,
# finished_code_result=code_result,
code=code,
runtime_result=self.working_memory.get(),
context=debug_context)
improve_code = await DebugCode().run(
plan=self.plan.current_task.instruction,
code=code,
runtime_result=self.working_memory.get(),
context=debug_context
)
if improve_code != "":
code = improve_code