🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
add timeout to client
Yizhou Chieaf1b62343f1
diff --git a/expo/utils.py b/expo/utils.pyindex 44de8cf9b..f3c0c392d 100644--- a/expo/utils.py+++ b/expo/utils.py@@ -111,7 +111,7 @@ async def load_execute_notebook(role):codes = [task.code for task in tasks if task.code]executor = role.execute_codeexecutor.nb = nbformat.v4.new_notebook()- executor.nb_client = NotebookClient(executor.nb)+ executor.nb_client = NotebookClient(executor.nb, timeout=executor.timeout)# await executor.build()for code in codes:outputs, success = await executor.run(code)