Add feature flag for summarize code review model upgrade

What does this MR do and why?

How to set up and validate locally

  • Start reviewing a MR and add a bunch of comments
  • Click on Finish review and make sure Claude 3.5 model is used by checking the logs in gdk tail -f gitlab-ai-gateway | grep "Request to LLM"
  • Enable the feature flag and make sure Claude 3.7 model is used by checking the logs in gdk tail -f gitlab-ai-gateway | grep "Request to LLM"

Screenshots

  • Claude 3.7 model is used when feature flag is enabled: Screenshot_2025-03-03_at_10.10.09_AM

  • Claude 3.5 model is used when feature flag is disabled: disabled

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.

Related to #521383 (closed)

Edited by Kinshuk Singh

Merge request reports

Loading