Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions hugo/content/en/bits_ai/bits_code/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,17 @@ Bits Code also [ingests custom instructions][33] defined in your repository and

Bits Code integrates with [source code providers](#supported-source-code-providers) to:
- Create pull or merge requests, generating titles and descriptions based on your repository's pull or merge request template
- Iterate on pull requests in response to comments (GitHub only); mention `@Datadog` in a comment to prompt Bits for updates
- Iterate on pull or merge requests in response to comments on GitHub, GitLab, and Azure DevOps: mention `@Datadog` in a comment to ask Bits Code for updates
- Monitor CI logs and pull or merge request state to fix failures and merge blockers

While Bits Code works on your request, it keeps a single status comment up to date on the pull or merge request. The comment shows the state of the run and the actions and links available to you, including a link to the Datadog session when the request is backed by one. When CI Auto-fix is available, the comment also shows its status and controls to fix failing CI checks.

Bits Code never auto-merges PRs or MRs. See all the PRs or MRs that Bits Code is working on in {{< ui >}}Bits AI{{< /ui >}} > {{< ui >}}Bits Code{{< /ui >}} > [{{< ui >}}Sessions{{< /ui >}}][7].

## Limitations

- Bits Code is an AI product, which means it can make mistakes. Use best practices when reviewing and testing agent-generated code.
- Bits Code does not support multi-repository investigations.
- When using GitLab, mentioning `@Datadog` in a comment to prompt Bits for updates is not supported.

## Further reading

Expand Down
2 changes: 2 additions & 0 deletions hugo/content/en/bits_ai/bits_code/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,15 @@ Set up Bits Code for one of the [supported source code providers][11].
- Contribute to pull requests
- Create branch
- Read
3. To make CI Auto-fix available in the status comment on pull requests, verify that the service principal can [view builds][105] on each project. Without this permission, the status comment prompts you to grant it instead of offering to fix failing CI checks.

If [commit author email validation][104] is enabled, add `no-reply@dtdg.co` to the allowed email addresses. Bits Code uses this address for commits it creates.

[101]: https://app.datadoghq.com/integrations/azure-devops-source-code
[102]: /integrations/azure-devops-source-code/
[103]: https://learn.microsoft.com/en-us/azure/devops/repos/git/set-git-repository-permissions
[104]: https://learn.microsoft.com/en-us/azure/devops/repos/git/repository-settings#commit-author-email-validation-policy
[105]: https://learn.microsoft.com/en-us/azure/devops/pipelines/policies/permissions
{{% /tab %}}

{{< /tabs >}}
Expand Down
Loading