update comment in get_codes function

This commit is contained in:
mannaandpoem 2024-01-24 17:51:17 +08:00
parent e761612aec
commit 5af94ae133
2 changed files with 2 additions and 2 deletions

View file

@ -342,7 +342,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])