Skip to content

Entire files are being added to context without consent - (this drastically increases token consumption and is a privacy issue) #7941

@mathiasleroy

Description

@mathiasleroy

Before submitting your bug report

Relevant environment info

- OS: windows
- Continue version: 1.2.4
- IDE version: vscode
- Model: any (I use api models in chat mode)

Description

Whole files are being added to the context without being notified before sending the request.

Image

Sending this will automatically add my whole file to the context.

Image

And I don't see any way to know this or disable this before pressing send.

To reproduce

  1. open a file
  2. select a line of code
  3. press ctrl-shift-L open a new chat and to add this single line to the context
  4. ask something e.g. "explain"
  5. press send ! EDIT: it seems clicking Send with the mouse is important here, not press enter with keyboard.
  6. "1 context item" will be automatically added, which is the whole file where the line was taken from.

Metadata

Metadata

Assignees

Labels

area:context-providersRelates to context providerside:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windowsreleased

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions