You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: assistant.qmd
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ A few examples of these integration points include Positron's:
23
23
- Variables pane, providing names, dimensions, and column names of dataframes and Python/R based database connections, as well as metadata for arrays, lists, and other objects in memory
24
24
- Plots pane for describing the current plot or suggesting variations and next steps for iterating on the current plot
25
25
- Console, available to the model for viewing inputs and code outputs, as well as allowing the user or an AI agent to execute code in the console and view the output
26
-
- Session state, proving what language is active in the console session (R or Python, including version), what packages are loaded, and what packages are installed
26
+
- Session state, providing what language is active in the console session (R or Python, including version), what packages are loaded, and what packages are installed
27
27
28
28
All of that Positron-specific context is in addition to the core capabilities of what traditional software-oriented GenAI clients have (active files, selected lines of code, files in project, training data in the model, etc).
29
29
@@ -41,13 +41,17 @@ The general steps to use Positron Assistant are:
41
41
42
42
## Enabling Positron Assistant
43
43
44
-
Positron Assistant is not enabled by default. Follow these steps to enable it:
44
+
Positron Assistant is not enabled by default.
45
+
46
+
-["Positron > Assistant: Enable"](positron://settings/positron.assistant.enable): Clicking this link will enable the Positron Assistant feature in Positron.
47
+
48
+
Alternatively, you can enable Positron Assistant in the user settings UI:
45
49
46
50
1. Run the command `Preferences: Open User Settings (UI)` in the Command Palette to open user settings
47
51
48
-
1. Search for the setting `positron.assistant.enable` and check the box for ["Positron > Assistant: Enable"](positron://settings/positron.assistant.enable)
52
+
1. Search for the setting `positron.assistant.enable` and check the box for [
49
53
50
-
1. Restart Positron or run the `Developer: Reload Window` command in the Command Palette.
54
+
1. Restart Positron or run the _Developer: Reload Window_ command in the Command Palette.
51
55
52
56
1. Positron Assistant is now enabled!
53
57
@@ -76,10 +80,6 @@ Anthropic and GitHub Copilot are the currently supported language model provider
76
80
77
81
1. Click the "Done" button once you have added all the desired model providers. You can always come back to this dialog later to add or remove providers.
78
82
79
-
::: {.callout-tip}
80
-
1. Run the _Positron Assistant: Add Language Model_ command to open the language model provider dialog. You can also click the "Add Language Model provider" button in the Positron Assistant chat area (note: the button may be collapsed within the `...` context menu).
81
-
:::
82
-
83
83
#### Removing language model providers
84
84
85
85
1. Run the _Positron Assistant: Add Language Model_ command to open the language model dialog. You can also click the "Add Language Model" button in the Positron Assistant chat area (note: the button may be collapsed within the `...` context menu).
@@ -111,14 +111,14 @@ Chat participants provide specialized knowledge to the Positron Assistant. You c
111
111
112
112
### Inline chat
113
113
114
-
The command `Inline Chat: Editor Inline Chat` (default keybinding: <kbd>Cmd + I</kbd>) will open a mini chat right in the editor. This is very useful for asking questions in context, and also includes a good UX for integrating changes suggested by the model.
114
+
The command _Inline Chat: Editor Inline Chat_ (default keybinding: <kbd>Cmd</kbd> + <kbd>I</kbd>) will open a mini chat right in the editor. This is very useful for asking questions in context, and also includes a good UX for integrating changes suggested by the model.
115
115
116
116
### Completions
117
117
118
118
If GitHub Copilot is enabled and the user pauses typing for a few seconds, Positron Assistant will offer completions in most contexts. If it is not working, check the following:
119
119
120
120
- Make sure you have a [language model provider added](#adding-language-model-providers) for completions.
121
-
- Check the [developer tools console logs](troubleshooting.qmd#developer-tools) to see if there are any errors logged. Run the `Developer: Toggle Developer Tools` command in the Command Palette to open DevTools.
121
+
- Check the [developer tools console logs](troubleshooting.qmd#developer-tools) to see if there are any errors logged.
0 commit comments