Add chat message link analysis
What does this MR do and why?
Add Duo Chat message analysis on presence of URLs
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
https://youtu.be/GXLxIiN0ZUo (GitLab Unfiltered)
How to set up and validate locally
(Note this relies on https://gitlab.com/gitlab-org/iglu/-/merge_requests/104 being merged first before it can be validated)
- Comment out https://gitlab.com/gitlab-org/gitlab/-/blob/6d0b85d8140d296116aa41b8c352639407ad0d41/ee/lib/gitlab/llm/completions/chat.rb#L74
- ask chat a question, with URL to an issue
- observe
llm.log
file to see that request to AI is sent - observe snowplow-micro for newly added attributes
Related to #430975
Edited by Mark Chao