mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-20 15:38:09 +02:00
Add Inference of SWE-bench for Data Interpreter
This commit is contained in:
parent
e783e5b208
commit
ef3be47f28
4 changed files with 180 additions and 1 deletions
|
|
@ -182,3 +182,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue