From 094d7c26df35907f99fdaaf79a9f3260f2e92f15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8E=98=E6=9D=83=20=E9=A9=AC?= Date: Wed, 24 Jan 2024 16:30:55 +0800 Subject: [PATCH] fixbug: The startup parameters of the program have been lost. --- metagpt/roles/engineer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])