Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

fixbug: The startup parameters of the program have been lost.

莘权 马094d7c26df35
diff --git a/metagpt/roles/engineer.py b/metagpt/roles/engineer.py
index 7c91ec6f9..0a50bb26d 100644
--- a/metagpt/roles/engineer.py
+++ b/metagpt/roles/engineer.py
@@ -292,7 +292,7 @@ class Engineer(Role):
summarizations[ctx].append(filename)
for ctx, filenames in summarizations.items():
ctx.codes_filenames = filenames
- self.summarize_todos.append(SummarizeCode(i_context=ctx, llm=self.llm))
+ 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])