aws / aws/aws-toolkit-vscode

no suggestions found for notebook file

Open
#7,642 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## Problem
There seems to be an issue with sending the content of Jupyter notebooks to the API. While Python scripts work fine, notebook requests return no suggestions.

- The issue could be related to how the notebook content is sent to the API.
- The notebook file path has an unusual URI encoding at the end:
`/Users/../my_notebook.ipynb#X10sZmlsZQ%3D%3D`
- This encoding might be interfering with the proper transmission of the notebook content.

## Logs
Logs of the notebook for which no suggestions are found:

Image

Logs of the python script for which suggestions are found:
Image

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the difference between a Jupyter notebook and a Python script, then inspect how the notebook path and content are sent to the API, including the encoded URI suffix. Done means notebook requests return suggestions consistently with Python script requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, typescript
Domain
api, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.