From ed6e747bc58e093916a499af8b388d74a8783b7d Mon Sep 17 00:00:00 2001 From: Lena <241371603+zelenenka@users.noreply.github.com> Date: Tue, 16 Jun 2026 14:40:07 +0200 Subject: [PATCH] Duplicate Bot: Update retired Claude model (#59424) claude-sonnet-4-20250514 was retired by Anthropic on June 15, 2026, causing the "Comment on potential duplicate bug/crash reports" workflow to fail with a 404 from /v1/messages on the first call_claude invocation. Switch to the recommended replacement, claude-sonnet-4-6. Release Notes: - N/A --- script/github-check-new-issue-for-duplicates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/github-check-new-issue-for-duplicates.py b/script/github-check-new-issue-for-duplicates.py index 8a4eb8ec22a..b03f429b7f5 100644 --- a/script/github-check-new-issue-for-duplicates.py +++ b/script/github-check-new-issue-for-duplicates.py @@ -180,7 +180,7 @@ def call_claude(api_key, system, user_content, max_tokens=1024): "content-type": "application/json", }, json={ - "model": "claude-sonnet-4-20250514", + "model": "claude-sonnet-4-6", "max_tokens": max_tokens, "temperature": 0.0, "system": system,