Skip to content

Reduce context size of add element to chat #314188

@kycutler

Description

@kycutler

Currently it includes all computed styles, all applicable CSS rules, and all variables. But that's a ton of context and token use.

The attachment should be more focused and just include computed styles that have been modified, and CSS rules and variables that are actually affecting the element.

If the context is reduced enough, we could probably disable the attachCss setting as well and just always include it.

Metadata

Metadata

Labels

browser-integrationWeb browsing features integrated into VS Code (e.g. integrated browser)feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insidersverification-neededVerification of issue is requested

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions