Add new llm logger for debugging AI features
What does this MR do and why?
Adds a new logger and debugging statements for AI features.
Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/409977
Screenshots or screen recordings
How to set up and validate locally
tail -f log/llm.log
- Set up your local instance for AI features
- Test an AI feature like summarize comments
- Active it by enabling the feature flag:
Feature.enable(:summarize_comments)
- Go to an issue with comments and press the "Summarize Comments" button (see video)
- Active it by enabling the feature flag:
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Nicolas Dular