VSCode Copilot Agent causes .ipynb cell content to disappear after edits — rendering failure in Notebook editor #16835
Replies: 1 comment
-
Duplicate of #16834 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🧩 Problem Summary
When using GitHub Copilot Agent to modify code in
.ipynb
(Jupyter Notebook) files, the edited cell becomes completely blank — no code is shown, and the cell cannot be interacted with.This occurs regardless of the model used (GPT-4, GPT-4o, Claude 3.5/4). The issue seems to be related to VSCode’s Notebook rendering breaking after Agent edits.
❗ Symptoms
After code is generated or modified by Copilot Agent in a
.ipynb
file:Restarting VSCode or reloading the window sometimes temporarily restores the cell, but re-editing causes the issue again.
✅ Environment Info
GPT-4
,GPT-4o
,o4-mini
,Claude 3.5
,Claude 4
🔬 Steps to Reproduce
.ipynb
file in VSCode.📎 Visual Evidence
🧩 Technical Analysis (Hypothesis)
.ipynb
cells.🛠️ Possible Cause
notebook.applyEdit()
API or not triggering notebook cell update events.➕ Request
Please investigate Copilot Agent’s compatibility with Jupyter Notebook rendering. This is a severe usability issue, preventing Copilot use in
.ipynb
files.Let me know if additional logs or diagnostics would help — I can reproduce this consistently.
Beta Was this translation helpful? Give feedback.
All reactions