jupyter-ai
jupyter-ai copied to clipboard
Support streaming in magics
trafficstars
Problem
Currently magics do not stream the output. This means that sometimes user waits for a number of seconds (worst case minutes) before receiving feedback.
Proposed Solution
IPython (and Jupyter protocol in general) does support output updates.
Additional context
https://github.com/ipython/ipython/blob/main/examples/IPython%20Kernel/Updating%20Displays.ipynb