mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
fix nbclient
This commit is contained in:
parent
9ba0d217fc
commit
294d0fe709
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ async def load_execute_notebook(role):
|
|||
codes = [task.code for task in tasks if task.code]
|
||||
executor = role.execute_code
|
||||
executor.nb = nbformat.v4.new_notebook()
|
||||
executor.nb.client = NotebookClient(executor.nb)
|
||||
executor.nb_client = NotebookClient(executor.nb)
|
||||
# await executor.build()
|
||||
for code in codes:
|
||||
outputs, success = await executor.run(code)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue