@@ -21,9 +21,11 @@ GitLab Duo allows you to use AI-assisted features across GitLab. To get started
1. Leave all other options as default and select **Create project**.
1. From your project, click the **GitLab Duo Chat** button in the top right corner.
1. From your project, click the **New Chat** button in the top right corner.
1. A new chat window will appear on the right side of the screen. Try asking some questions and see how the GitLab Duo responds!
1. Select **GitLab Duo** as your agent.
1. A new chat window will appear on the right side of the screen. In the bottom right corner of the chat box, disable GitLab Duo Agentic mode by clicking on the *Agentic* switch. Try asking some questions and see how the GitLab Duo responds!
@@ -37,7 +37,7 @@ GitLab Duo extends beyond just code generation. GitLab Duo can support you throu
The Go Figure module allows printing text in different styles and formats. Integrating this module into our "hello world" code will let us customize how the message is displayed, such as changing fonts, colors, effects and more. This will make our application stand out more and be more enjoyable for end users to interact with.
```
1. Copy this response, and add it as the description to your issue by selecting the **edit** button and pasting the ai-generated description into the Description field.
1. Copy this response, and add it as the description to your issue by selecting the **Edit** button and pasting the ai-generated description into the Description field.
1. Assign the issue to yourself and select **Save changes**.
@@ -45,6 +45,8 @@ GitLab Duo extends beyond just code generation. GitLab Duo can support you throu
1. From the issue you just created, select **Create merge request**.
1. Keep the source branch name as it is, and select **Create merge request**.
1. Add a brief description similar to `This MR introduces the Go Figure module to our "hello world" application`.
1. Leave all other options as default and select **Create merge request**.
@@ -84,7 +86,7 @@ GitLab Duo extends beyond just code generation. GitLab Duo can support you throu
1. From the left sidebar, select **Source Control**.
1. Enter any commit message and select the **Commit** button to commit the code changes.
1. Enter any commit message and select the **Commit and push to `name-of-branch`** button to commit the code changes.
1. Select **Go to MR** to return back to your merge request.
@@ -140,7 +142,7 @@ GitLab Duo extends beyond just code generation. GitLab Duo can support you throu
-go run main.go
```
1. As we are now dealing with Go modules, we will need a go.mod file. Again, this is something Duo can help us with! In the GitLab Duo chat panel, write something like: `Please create the go.mod file for this application`. It will return something like the below:
1. As we are now dealing with Go modules, we will need a `go.mod` file. Again, this is something Duo can help us with! In the GitLab Duo chat panel, write something like: `Please create the go.mod file for this application`. It will return something like the below:
```go
modulehello-world-figure
@@ -164,7 +166,7 @@ GitLab Duo can act as a code reviewer to aide in code quality, and suggest updat
1. In your MR, in the **Reviewers** section, click the **Edit** option, and type in *Duo*. A GitLab Duo user option with the username of *@GitLabDuo* should appear.
1. Select the @GitLabDuo user, and click off of the Reviewers section to add the reviewer.
1. Select the *@GitLabDuo* user, and click off of the Reviewers section to add the reviewer.
1. The GitLab Duo account will now start reviewing your MR, and will take a few minutes to do so. Feel free to add the suggestions it makes to your MR by selecting **Apply suggestion**, writing a commit message, and then selecting **Apply**.