sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.15k stars 209 forks source link

jupyter/ai-cell-generator: get rid of precomputed values #7491

Closed haraldschilly closed 3 months ago

haraldschilly commented 3 months ago

Description

During dev of these LLM tools in jupyter, I repeatedly saw this and also some weird "hangs". Maybe it's related, maybe not. In any case, the idea of this patch is to render and compute as little as possible by default. Only get the values when the popup shows the content. Errors are below.

what I saw:

Screenshot from 2024-04-27 11-32-22

Screenshot from 2024-04-27 11-32-47

Checklist: