mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-10 16:22:37 +02:00
fix human review bug
This commit is contained in:
parent
b8929be564
commit
95edc8f744
1 changed files with 1 additions and 1 deletions
|
|
@ -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_run
|
||||
if not auto_run:
|
||||
context = self.get_useful_memories()
|
||||
review, confirmed = await AskReview().run(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue