mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-06 06:12:39 +02:00
fixbug: useless summarize code
This commit is contained in:
parent
cbdfac309f
commit
55d95fe5bc
1 changed files with 1 additions and 0 deletions
|
|
@ -342,6 +342,7 @@ class Engineer(Role):
|
|||
summarizations[ctx].append(filename)
|
||||
for ctx, filenames in summarizations.items():
|
||||
ctx.codes_filenames = filenames
|
||||
self.summarize_todos.clear()
|
||||
self.summarize_todos.append(SummarizeCode(i_context=ctx, context=self.context, llm=self.llm))
|
||||
if self.summarize_todos:
|
||||
self.set_todo(self.summarize_todos[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue