From 32a878aceaa5412de40bd171c33d7c01700dddbb Mon Sep 17 00:00:00 2001 From: Samantha Ming <sming@gitlab.com> Date: Mon, 11 Dec 2023 21:55:24 +0100 Subject: [PATCH] Update AI generated MR text This AI generated MR corresponds with the resolve with AI feature. This updates the text description of the generated MR. Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/434887 --- ee/app/views/vulnerabilities/merge_request_description.md.erb | 2 +- .../create_from_vulnerability_data_service_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ee/app/views/vulnerabilities/merge_request_description.md.erb b/ee/app/views/vulnerabilities/merge_request_description.md.erb index 42cc5608d0130..a7c886eeff4dc 100644 --- a/ee/app/views/vulnerabilities/merge_request_description.md.erb +++ b/ee/app/views/vulnerabilities/merge_request_description.md.erb @@ -1,7 +1,7 @@ <% if llm_patch.present? %> ## AI GENERATED PATCH -The suggested code changes in this MR were produced by using the GitLab Duo Resolve this vulnerability feature, using AI. Before you apply the code changes, carefully review and test them, to ensure that they solve the vulnerability, don't harm the functional behaviour of your application or introduce new vulnerabilities. +The suggested code changes were generated by GitLab Duo Vulnerability resolution, an AI feature. Before you apply the code changes, carefully review and test them, to ensure that they solve the vulnerability, don't harm the functional behaviour of your application or introduce new vulnerabilities. The large language model that generated the suggested code changes was only provided with the affected lines of code, and the vulnerability in that code. It is not aware of any functionality outside of this context. diff --git a/ee/spec/services/merge_requests/create_from_vulnerability_data_service_spec.rb b/ee/spec/services/merge_requests/create_from_vulnerability_data_service_spec.rb index 5b379d1933906..546091123b489 100644 --- a/ee/spec/services/merge_requests/create_from_vulnerability_data_service_spec.rb +++ b/ee/spec/services/merge_requests/create_from_vulnerability_data_service_spec.rb @@ -322,7 +322,7 @@ <<~DESC.chomp ## AI GENERATED PATCH - The suggested code changes in this MR were produced by using the GitLab Duo Resolve this vulnerability feature, using AI. Before you apply the code changes, carefully review and test them, to ensure that they solve the vulnerability, don't harm the functional behaviour of your application or introduce new vulnerabilities. + The suggested code changes were generated by GitLab Duo Vulnerability resolution, an AI feature. Before you apply the code changes, carefully review and test them, to ensure that they solve the vulnerability, don't harm the functional behaviour of your application or introduce new vulnerabilities. The large language model that generated the suggested code changes was only provided with the affected lines of code, and the vulnerability in that code. It is not aware of any functionality outside of this context. -- GitLab