assistant: Add term slash command (#13162)

This adds a `term` slash command to the assistant which allows to inject
the latest terminal output into the context.

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner 2024-06-20 20:20:34 +02:00 committed by GitHub
parent 710c387395
commit 0150192e26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 135 additions and 1 deletions

View file

@ -28,6 +28,7 @@ pub mod prompt_command;
pub mod rustdoc_command;
pub mod search_command;
pub mod tabs_command;
pub mod term_command;
pub(crate) struct SlashCommandCompletionProvider {
commands: Arc<SlashCommandRegistry>,