mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-06 06:12:39 +02:00
fixbug: endless summarize
This commit is contained in:
parent
b366bf13a2
commit
c380cf6783
1 changed files with 1 additions and 0 deletions
|
|
@ -352,6 +352,7 @@ class Engineer(Role):
|
|||
self.summarize_todos.append(new_summarize)
|
||||
if self.summarize_todos:
|
||||
self.set_todo(self.summarize_todos[0])
|
||||
self.summarize_todos.pop(0)
|
||||
|
||||
async def _new_code_plan_and_change_action(self):
|
||||
"""Create a WriteCodePlanAndChange action for subsequent to-do actions."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue