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
- Model name changes required as per Anthropic documentation
- Affects both GitLab.com and self-managed instances
Implementation Steps
-
Update model configurations in each feature -
Verify performance improvements -
Deploy updates -
Update documentation
Timeline
Priority: ASAP
References
- Anthropic Announcement
- Model Documentation
- GitLab Duo Documentation
- Model Migration docs
- LiteLLM Model Support Issue
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 |
|
Rolled out (2025-03-06) → Reverted → Re-enabled (2025-03-19) | @juan-silva | 2025-03-19 | #521058 |
| Code Generation |
|
Rolled out (2025-03-07) → FF disabled → Re-enabled (2025-03-27) | @acook.gitlab | 2025-03-27 | #521044 |
| Code-based Slash Commands |
|
Rolled out (2025-03-07) → Reverted (2025-03-14) → Re-enabled (2025-03-27) | @acook.gitlab | 2025-03-27 | #521250 |
| Merge Request Summary |
|
Rolled out (2025-03-07) → Re-enabled (2025-03-20) | @kinsingh | 2025-03-20 | #478035 |
| Duo Code Review |
|
Rolled out (2025-03-07) → Re-enabled (2025-03-20) | @dskim_gitlab | 2025-03-20 | #521359 |
| Code Review Summary |
|
Rolled out (2025-03-07) → Re-enabled (2025-03-20) | @kinsingh | 2025-03-20 | #521383 (closed) |
| Merge Commit Message Generation |
|
Rolled out (2025-03-11) → Re-enabled (2025-03-20) | @dskim_gitlab | 2025-03-20 | #521392 |
| Explain Vulnerability |
|
- | @nateweinshenker | 2025-03-21 | #523299 |
| Vulnerability Resolution |
|
- | @mbenayoun | 2025-03-31 | #523496 |
| Root Cause Analysis |
|
Rolled out (2025-03-11) → Disabled → Re-enabled (2025-03-2027 | @mfanGitLab | 2025-03-27 | #523068 |
| Duo Workflow |
|
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