Skip to content
代码片段 群组 项目
未验证 提交 a6114a2c 编辑于 作者: Suzanne Selhorn's avatar Suzanne Selhorn 提交者: GitLab
浏览文件

Merge branch 'duo-slash-cmds2' into 'master'

Add supported commands to ask gitlab duo chat

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/157790



Merged-by: default avatarSuzanne Selhorn <sselhorn@gitlab.com>
Co-authored-by: default avatarJonathan Glassman <jglassman@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -230,3 +230,18 @@ To start a new conversation, but keep the previous conversations visible in the
In both cases, the conversation history will not be considered when you ask new questions.
Deleting or resetting might help improve the answers when you switch contexts, because Duo Chat will not get confused by the unrelated conversations.
## Supported slash commands
Duo Chat has a list of supported commands, each of which is preceded by a slash (`/`).
Use the following commands to quickly accomplish specific tasks.
| Command | Purpose |
|------------------------|-------------------------------------------------------------------------------------|
| /clear | [Delete all conversations permanently and clear the chat window](#delete-or-reset-the-conversation) |
| /reset | [Start a new conversation, but keep the previous conversations visible in the chat window](#delete-or-reset-the-conversation) |
| /tests | [Write tests](#write-tests-in-the-ide) |
| /explain | [Explain code](../gitlab_duo_chat/examples.md#explain-code-in-the-ide) |
| /vulnerability_explain | [Explain current vulnerability](../gitlab_duo/index.md#vulnerability-explanation) |
| | [Explain current vulnerability](../application_security/vulnerabilities/index.md#explaining-a-vulnerability) |
| /refactor | [Refactor the code](../gitlab_duo_chat/examples.md#refactor-code-in-the-ide) |
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册