-
Notifications
You must be signed in to change notification settings - Fork 39.7k
Reduce context size of add element to chat #314188
Copy link
Copy link
Closed
Labels
browser-integrationWeb browsing features integrated into VS Code (e.g. integrated browser)Web browsing features integrated into VS Code (e.g. integrated browser)feature-requestRequest for new features or functionalityRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedVerification of issue is requested
Milestone
Metadata
Metadata
Labels
browser-integrationWeb browsing features integrated into VS Code (e.g. integrated browser)Web browsing features integrated into VS Code (e.g. integrated browser)feature-requestRequest for new features or functionalityRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedVerification of issue is requested
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
attachCsssetting as well and just always include it.