Skip to content

Add feature flag for summarize merge request model upgrade

What does this MR do and why?

How to set up and validate locally

  • Create a new MR
  • Click on Summarize Code Changes 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: enabled

  • 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 #521400 (closed)

Edited by Kinshuk Singh

Merge request reports

Loading