Skip to content
Snippets Groups Projects

Add new llm logger for debugging AI features

Merged Nicolas Dular requested to merge nd/add-ai-logging into master

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

logging

How to set up and validate locally

  1. tail -f log/llm.log
  2. Set up your local instance for AI features
  3. Test an AI feature like summarize comments
    1. Active it by enabling the feature flag: Feature.enable(:summarize_comments)
    2. Go to an issue with comments and press the "Summarize Comments" button (see video)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Nicolas Dular

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Nicolas Dular requested review from @mksionek

    requested review from @mksionek

  • Gosia Ksionek
  • Gosia Ksionek approved this merge request

    approved this merge request

  • LGTM @nicolasdular, just one question!

  • Gosia Ksionek requested review from @jprovaznik and removed review request for @mksionek

    requested review from @jprovaznik and removed review request for @mksionek

  • :wave: @mksionek, thanks for approving this merge request.

    This is the first time the merge request is approved. To ensure full test coverage, a new pipeline will be started shortly.

    For more info, please refer to the following links:

  • A deleted user added documentation label

    added documentation label

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading