Closed
Description
Currently, Assistant provides inline completions everywhere:
This can be at best annoying but at worst a security concern (e.g. you don't want it autocompleting secrets, nor sending secrets as context to a third party).
There are two sides to this issue; one is excluding auto-completions from being shown to the user (e.g. as in github.copilot.enable
for a set of file types), and the other is excluding the file's content from inclusion in the context sent to the model for privacy and security reasons.
Positron should ship with exclusions pre-configured for typical data science projects files that contain secrets, such as .Renviron
and .env
files (for example).