Merge branch 'swebench_di' of github.com:geekan/MetaGPT into swebench_di

This commit is contained in:
stellahsr 2024-03-19 17:52:33 +08:00
commit d2b34f5897
6 changed files with 224 additions and 3 deletions

View file

@ -183,6 +183,6 @@ class DataInterpreter(Role):
print(result)
data_info = DATA_INFO.format(info=result)
self.working_memory.add(Message(content=data_info, role="user", cause_by=CheckData))
def get_last_cell_source(self):
return self.execute_code.nb.cells[-1].source