🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
fix human review bug
yzlin95edc8f74474
diff --git a/metagpt/strategy/planner.py b/metagpt/strategy/planner.pyindex fbf784837..427e41562 100644--- a/metagpt/strategy/planner.py+++ b/metagpt/strategy/planner.py@@ -119,7 +119,7 @@ class Planner(BaseModel):If human confirms the task result, then we deem the task completed, regardless of whether the code run succeeds;if auto mode, then the code run has to succeed for the task to be considered completed."""- auto_run = auto_run or self.auto_run+ auto_run = auto_run if auto_run is not None else self.auto_runif not auto_run:context = self.get_useful_memories()review, confirmed = await AskReview().run(