feat: add q agent primitive for chat
What does this merge request do and why?
This merge request adds the Amazon Q Primitive handling for Agent request received from Gitlab client
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Merge request checklist
-
Tests added for new functionality. If not, please raise an issue to follow up. -
Documentation added/updated, if needed.
Merge request reports
Activity
Reviewer roulette
To spread load more evenly across eligible reviewers, Danger has picked a candidate for each review slot. Feel free to override these selections if you think someone else would be better-suited or use the GitLab Review Workload Dashboard to find other available reviewers.
To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines.
Once you've decided who will review this merge request, mention them as you normally would! Danger does not automatically notify them for you.
Reviewer Maintainer @dbernardi
(UTC-8)
@igor.drozdov
(UTC+1)
If needed, you can retry the
danger-review
job that generated this comment.Generated by
Danger- Resolved by 🤖 GitLab Bot 🤖
Proper labels assigned to this merge request. Please ignore me.
@vvpatil123
- please see the following guidance and update this merge request.1 Error Please add typebug typefeature, or typemaintenance label to this merge request. Edited by 🤖 GitLab Bot 🤖
added typemaintenance label
added typefeature label and removed typemaintenance label
added typemaintenance label and removed typefeature label
added devopsai-powered groupai model validation labels
@gitlab-bot ready @ttbt0706
added workflowready for review label
requested review from @ttbt0706
added Contractor Contribution label
added sectiondata-science label
added aws:first-review-approved label
@gitlab-bot unassign_review
removed review request for @ttbt0706
@gitlab-bot ready @clotman
requested review from @clotman
Approved
@vvpatil123 This change looks fine to me.
added aws:second-review-approved label
@gitlab-bot unassign_review
removed review request for @clotman
@gitlab-bot ready @igor.drozdov
requested review from @igor.drozdov
68 68 f"request_{GitLabUnitPrimitive.DUO_CHAT}", 69 69 category=__name__, 70 70 ) 71 if current_user.can(GitLabUnitPrimitive.AMAZON_Q_INTEGRATION): The problem with this approach is that a user can have an access to amazon-q-integration unit primitive, but not have access to duo-chat unit primitive
In this case, the request will fail on line 66.
However, this MR should handle this problem: refactor(chat): get react prompt from registry ... (!2042)