Commit 23b7ef4
Fix duplicate kernel creation bug in use_notebook tool (#162)
Fixed a bug where kernel_id variable was not being updated after creating a new kernel in JUPYTER_SERVER mode. This caused create_session() to receive None as kernel_id, which resulted in creating a second kernel while the first kernel remained unused.
The fix ensures that when a new kernel is created via _start_kernel_local(), the kernel_id variable is properly assigned from the returned kernel dictionary.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <[email protected]>1 parent 35c6323 commit 23b7ef4
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
| 217 | + | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
| |||
0 commit comments