Configure AI features

Configure the AI features in Positron, including turning individual features or all AI features on or off.

Once you have set up a language model provider, you can configure how AI features behave in Positron.

Note

ai.enabled is true by default, but AI functionality is only active once you have authenticated with a language model provider.

Turn features on or off

You can turn off individual features or disable all AI features at once.

Turn off all AI features

To turn off all Positron AI features at once, set ai.enabled to false. This overrides individual feature settings and disables:

  • Posit Assistant
  • Posit AI Next Edit Suggestions (NES)
  • Notebook AI features
  • Console Fix & Explain
  • Quarto Fix & Explain
  • GitHub Copilot (Chat, Completions)
  • Git commit message generation

Turn off a specific feature

To disable a specific feature without affecting others:

Setting Features affected
assistant.enabled Posit Assistant (set to false to disable)
nextEditSuggestions.enabled Posit AI NES (set to { "*": false } to disable)
github.copilot.enable GitHub Copilot ghost-text completions and Next Edit Suggestions (set to { "*": false } to disable both)
github.copilot.nextEditSuggestions.enabled GitHub Copilot Next Edit Suggestions (set to false to disable)
notebook.ai.enabled Notebook AI features (set to false to disable)
console.assistantActions.enabled Console Fix & Explain (set to false to disable)
git.suggestions.enabled Git commit messages (set to false to disable)

GitHub Copilot chat

Positron hides the GitHub Copilot chat interface by default, since Posit Assistant is the default chat experience in Positron. To show the GitHub Copilot chat UI again, set chat.disableAIFeatures to false.

Regardless of that setting, GitHub Copilot ghost-text completions and NES are available once you sign in to GitHub Copilot as a provider.