Skip to content

Claude 3.7 Model Upgrade

Overview

Anthropic has released an improved Claude 3.7 Sonnet model. We need to upgrade all existing Sonnet integrations across GitLab Duo features.

Features to Update

Migration Progress Checklist

Generally Available Features

  • GitLab Duo Chat (partially - for specific question types)
  • Discussion Summary
  • Code Suggestions (code generation part)
  • Code Explanation
  • Merge Commit Message Generation
  • Root Cause Analysis
  • Vulnerability Resolution - Being rolled out March 31st
  • Vulnerability Explanation Enabled for GitLab team members

Beta Features

  • Merge Request Summary

Experimental Features

  • Code Review
  • GitLab Duo Workflow 🔴 Reverted
  • Code Review Summary

Required Changes

  • Add model configuration file for model flexibility
  • New prompt definition created to use the Claude 3.7 model.
  • Feature flag created to slow rollout of correct prompt version

Technical Details

Implementation Steps

  1. Update model configurations in each feature
  2. Verify performance improvements
  3. Deploy updates
  4. Update documentation

Timeline

Priority: ASAP

References

Proposed Solution

Add model in the AI Gateway as an option. Each team can establish if this new model can be adopted with your prompts as they are or if prompt changes are needed to maintain quality.

Please use the unified model configuration file to apply the Claude 3.7 sonnet model.

Example model configuration changes for applying the correct parameters can be followed in this MR.

Implementation Details

GitLab Duo Feature Status Table

As of March 27, 2025

Feature Current Status Timeline DRI ETA Issue
Duo Chat Enabled Rolled out (2025-03-06) → Reverted → Re-enabled (2025-03-19) @juan-silva 2025-03-19 #521058
Code Generation Enabled Rolled out (2025-03-07) → FF disabled → Re-enabled (2025-03-27) @acook.gitlab 2025-03-27 #521044
Code-based Slash Commands Enabled Rolled out (2025-03-07) → Reverted (2025-03-14) → Re-enabled (2025-03-27) @acook.gitlab 2025-03-27 #521250
Merge Request Summary Enabled Rolled out (2025-03-07) → Re-enabled (2025-03-20) @kinsingh 2025-03-20 #478035
Duo Code Review Enabled Rolled out (2025-03-07) → Re-enabled (2025-03-20) @dskim_gitlab 2025-03-20 #521359
Code Review Summary Enabled Rolled out (2025-03-07) → Re-enabled (2025-03-20) @kinsingh 2025-03-20 #521383 (closed)
Merge Commit Message Generation Enabled Rolled out (2025-03-11) → Re-enabled (2025-03-20) @dskim_gitlab 2025-03-20 #521392
Explain Vulnerability Enabled (GitLab team only) - @nateweinshenker 2025-03-21 #523299
Vulnerability Resolution Enabled - @mbenayoun 2025-03-31 #523496
Root Cause Analysis Enabled Rolled out (2025-03-11) → Disabled → Re-enabled (2025-03-2027 @mfanGitLab 2025-03-27 #523068
Duo Workflow 🔴 Reverted Rolled out (2025-03-03) → Reverted (2025-03-12) @bastirehm Will be rolled out following Switch back to Anthropic Claude 3.5 (gitlab-org/duo-workflow/duo-workflow-service#291 - closed) • Halil Coban • 17.10 #257
Edited by David O'Regan