You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When cell magics are spawned in a different shell than global (which may be missing) an incorrect ipython shell is used. This is because instead of using the shell passed to the constructor:
Description
When cell magics are spawned in a different shell than global (which may be missing) an incorrect ipython shell is used. This is because instead of using the
shell
passed to the constructor:jupyter-ai/packages/jupyter-ai-magics/jupyter_ai_magics/magics.py
Lines 139 to 140 in 512d642
get_ipython()
gets called:jupyter-ai/packages/jupyter-ai-magics/jupyter_ai_magics/magics.py
Lines 568 to 570 in 512d642
Reproduce
Run nested shells, or in environment where
get_ipython()
returns nullExpected behavior
Proper shell is used,
get_ipython
is never called in library code.Context
Latest version
The text was updated successfully, but these errors were encountered: