GitHub Copilot inline suggestions consistently fail in Jupyter notebooks
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
Type: Bug
GitHub Copilot inline suggestions work normally in .py Python files but fail in .ipynb Jupyter notebook code cells.
This occurs consistently across multiple VS Code/Copilot versions and in completely isolated VS Code environments.
Reproduction
Open a Python .ipynb notebook in VS Code.
Select a working Python kernel.
Enter code that would normally trigger a Copilot inline suggestion.
No ghost-text suggestion appears.
Equivalent code in a .py file produces suggestions normally.
Troubleshooting performed
Reproduced on:
VS Code 1.136 / Copilot Chat 0.64
VS Code 1.135 / Copilot Chat 0.63
VS Code 1.134 / Copilot Chat 0.62
Also reproduced with:
Fresh --user-data-dir
Fresh --extensions-dir
Only Python, Jupyter and GitHub Copilot installed
Notebook copied outside the original Git repository/workspace
Cleared Copilot and VS Code workspace state
Python IntelliSense/Pylance continues to work correctly.
Copilot authentication and network requests also succeed.
Relevant logs
In some runs:
DocumentMissingInHistoryContext
In other runs the NES request reaches the Copilot service successfully, but the model returns an empty completion:
choice {"delta":{"content":""},"finish_reason":"stop"}
followed by:
no edit, reason: noSuggestions
There is also repeatedly:
Failed to create database. Falling back to in-memory db: Error: unable to open database file
However, Copilot continues successfully authenticating and making requests after this error.
The issue appears specific to Copilot inline suggestions / NES in Jupyter notebook cells.
VS Code version: Code 1.134.0 (110a328ea54b42367b803ec53ee0bf52ef26b419, 2026-08-18T18:24:44Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
|Item|Value|
|---|---|
|CPUs|13th Gen Intel(R) Core(TM) i7-13700 (24 x 2112)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x25b2 [NVIDIA RTX A400], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.15.9579 *ACTIVE*
GPU1: VENDOR= 0x8086, DEVICE=0xa780 [Intel(R) UHD Graphics 770], DRIVER_VERSION=32.0.101.7077
GPU2: VENDOR= 0x10de, DEVICE=0x25b2 [NVIDIA RTX A400], DRIVER_VERSION=32.0.15.9579
GPU3: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8875
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|31.68GB (11.31GB free)|
|Process Argv|--crash-reporter-id 981545d7-c17b-45fb-88fc-ac8698aba803|
|Screen Reader|no|
|VM|0%|
Extensions (19)
Name|Identifier|Author|Version
---|---|---|---
Prettier - Code formatter|esbenp.prettier-vscode|esbenp|12.4.0
Auto Rename Tag|formulahendry.auto-rename-tag|formulahendry|0.1.10
LaTeX Workshop|james-yu.latex-workshop|James-Yu|10.18.0
Inline Parameters for VSCode|liamhammett.inline-parameters|liamhammett|0.2.1
Rainbow CSV|mechatroner.rainbow-csv|mechatroner|3.24.1
Python Debugger|ms-python.debugpy|ms-python|2026.6.0
Python|ms-python.python|ms-python|2026.4.0
Pylance|ms-python.vscode-pylance|ms-python|2026.3.1
Python Environments|ms-python.vscode-python-envs|ms-python|1.36.0
Data Wrangler|ms-toolsai.datawrangler|ms-toolsai|1.24.2
Jupyter|ms-toolsai.jupyter|ms-toolsai|2025.9.1
Jupyter Keymap|ms-toolsai.jupyter-keymap|ms-toolsai|1.1.2
Jupyter Notebook Renderers|ms-toolsai.jupyter-renderers|ms-toolsai|1.3.0
Jupyter Cell Tags|ms-toolsai.vscode-jupyter-cell-tags|ms-toolsai|0.1.9
Jupyter Slide Show|ms-toolsai.vscode-jupyter-slideshow|ms-toolsai|0.1.6
PowerShell|ms-vscode.powershell|ms-vscode|2025.4.0
Live Server|ritwickdey.liveserver|ritwickdey|5.7.10
Inline Parameters Extended for VSCode|robertostermann.inline-parameters-extended|RobertOstermann|1.3.5
Markdown PDF|yzane.markdown-pdf|yzane|2.2.0
A/B Experiments
```
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
diffpatch-lysithea-24-production:31577085
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
cp_cls_t_1081:31454832
conptydll_true:31498968
e9c30283:31461165
46204921:31447328
capico_axe_098a3278:31576180
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31518289
i2gc6536:31499202
52612955:31516516
h08i8180_copy:31475368
ddid_t:31478206
hmra_i5g22:31518061
l_j1ci3728:31575056
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
748c7209:31512887
32d76977:31512328
ha629193:31508444
a1ije391_t:31540920
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31548657
jf4hg949:31526829
ahp-both-windows:31556933
ihg5j128:31534457
9gg7f176:31542112
enable_editor_pane_layout:31569726
allow-none:31555437
ac562147:31564510
c7c27ce7:31554789
1h923230:31564177
1532g621_copy:31554320
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
switchtoauto:31559321
0c1h4866:31566224
vrbsty_tr:31561058
session-mark-done:31558131
5b8j3302:31564601
mangle-name-control:31572633
```
Contributor guide
Assessment
This issue has not been assessed yet.