File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
python/e2b_code_interpreter Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ def exec_cell(
9393 ws = ws_future .result (timeout = timeout )
9494 else :
9595 logger .debug (f"Creating new websocket connection to kernel { kernel_id } " )
96- ws = self ._connect_to_kernel_ws (kernel_id , timeout = timeout )
96+ ws = self ._connect_to_kernel_ws (kernel_id , None , timeout = timeout )
9797
9898 message_id = ws .send_execution_message (code , on_stdout , on_stderr , on_result )
9999 logger .debug (
@@ -190,7 +190,7 @@ def restart_kernel(
190190 logger .debug (f"Restarted kernel { kernel_id } " )
191191
192192 threading .Thread (
193- target = self ._connect_to_kernel_ws , args = (kernel_id , timeout )
193+ target = self ._connect_to_kernel_ws , args = (kernel_id , None , timeout )
194194 ).start ()
195195
196196 def shutdown_kernel (
You can’t perform that action at this time.
0 commit comments