Skip to content

Conversation

@eleanorjboyd
Copy link
Member

fixes #25644

@eleanorjboyd eleanorjboyd self-assigned this Dec 16, 2025
@eleanorjboyd eleanorjboyd added bug Issue identified by VS Code Team member as probable bug skip tests Updates to tests unnecessary labels Dec 16, 2025
@eleanorjboyd eleanorjboyd marked this pull request as ready for review December 16, 2025 23:03
@eleanorjboyd eleanorjboyd enabled auto-merge (squash) December 16, 2025 23:03
@vs-code-engineering vs-code-engineering bot added this to the December / January 2026 milestone Dec 16, 2025
@eleanorjboyd eleanorjboyd added the skip package*.json package.json and package-lock.json don't both need updating label Dec 16, 2025
Copy link

@DonJayamanne DonJayamanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This solution will break simple prompts such as create a python file to do xyz and verify it works correctly

#25644

The problem here is that the model uses this tool to install npm packages.
Thats wrong.
I would try updating the prompts to include text such as Do NOT use this tool to install npm or other non-python packages

package.json Outdated
"required": []
}
},
"when": "editorLangId == python || resourceLangId == python || notebookType == jupyter-notebook"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would break simple cases like a pomrpt such as create a python/notebook file that does ....

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gotcha- I was going off of Connor's comment about using a "when" statement but this makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue identified by VS Code Team member as probable bug skip package*.json package.json and package-lock.json don't both need updating skip tests Updates to tests unnecessary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python install offered in irrelevant case

2 participants