assistant: Put /docs and /project behind a setting (#16186)

This PR puts the availability of the `/docs` and `/project` slash
commands behind their respective settings.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2024-08-13 17:32:24 -04:00
committed by GitHub
parent c3edbd7d9a
commit 47628515e1
5 changed files with 91 additions and 16 deletions
+13
View File
@@ -400,6 +400,19 @@
"model": "gpt-4o"
}
},
// The settings for slash commands.
"slash_commands": {
// Settings for the `/docs` slash command.
"docs": {
// Whether `/docs` is enabled.
"enabled": false
},
// Settings for the `/project` slash command.
"project": {
// Whether `/project` is enabled.
"enabled": false
}
},
// Whether the screen sharing icon is shown in the os status bar.
"show_call_status_icon": true,
// Whether to use language servers to provide code intelligence.