From d140920248b73b1e65b22e3dd3e1575c150a8be1 Mon Sep 17 00:00:00 2001 From: "blinkagent[bot]" <237617714+blinkagent[bot]@users.noreply.github.com> Date: Wed, 25 Feb 2026 16:38:04 +0000 Subject: [PATCH] fix(coderd): bump taskname default model from Claude 3.5 Haiku to Claude Haiku 4.5 (#22304) Claude 3.5 Haiku (`claude-3-5-haiku-20241022`) was retired by Anthropic on February 19th, 2026. Requests to this model now return errors. Switch to Claude Haiku 4.5 (`claude-haiku-4-5`), which is the [recommended replacement](https://docs.anthropic.com/en/docs/resources/model-deprecations). --- One-line change in `coderd/taskname/taskname.go` L25: ```diff - defaultModel = anthropic.ModelClaude3_5HaikuLatest + defaultModel = anthropic.ModelClaudeHaiku4_5 ``` Co-authored-by: blink-so[bot] <211532188+blink-so[bot]@users.noreply.github.com> --- coderd/taskname/taskname.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coderd/taskname/taskname.go b/coderd/taskname/taskname.go index 2677dca672..ac93202789 100644 --- a/coderd/taskname/taskname.go +++ b/coderd/taskname/taskname.go @@ -22,7 +22,7 @@ import ( ) const ( - defaultModel = anthropic.ModelClaude3_5HaikuLatest + defaultModel = anthropic.ModelClaudeHaiku4_5 systemPrompt = `Generate a short task display name and name from this AI task prompt. Identify the main task (the core action and subject) and base both names on it. The task display name and name should be as similar as possible so a human can easily associate them.