Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

fix nbclient

Yizhou Chi294d0fe70968
diff --git a/expo/utils.py b/expo/utils.py
index 9c6295fa9..270842e41 100644
--- a/expo/utils.py
+++ b/expo/utils.py
@@ -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)