Skip to content

Coding Assistant Configuration

Enabling/Disabling the Coding Assistant

In order to use Sourcery Chat or the Sourcery Coding Assistant you need to send relevant pieces of your code and your messages to third party model providers.

If you want to opt out completely, you can do so through your user-level sourcery.yaml file.

To disable the Coding Assistant update this section of the file to:

coding assistant:
    enabled: False

Code Lens Configuration

Code Lenses are the Sourcery command shortcuts that appear above a section of code (eg. Generate Tests) and trigger a response from the Coding Assistant. To disable the Code Lenses go to the Sourcery extension/plugin settings in your IDE and uncheck the Sourcery: Code Lens option.