From cf8b611d14528b3a898a1b89d6c817a0b7e63575 Mon Sep 17 00:00:00 2001 From: jeanpaul Date: Fri, 23 May 2025 08:58:35 +0200 Subject: [PATCH] feat(Anthropic Chat Model Node): Set the new Claude 4 Sonnet model to be the default (#15609) --- .../nodes/llms/LMChatAnthropic/LmChatAnthropic.node.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@n8n/nodes-langchain/nodes/llms/LMChatAnthropic/LmChatAnthropic.node.ts b/packages/@n8n/nodes-langchain/nodes/llms/LMChatAnthropic/LmChatAnthropic.node.ts index bdde9fb7d7..4e396f4662 100644 --- a/packages/@n8n/nodes-langchain/nodes/llms/LMChatAnthropic/LmChatAnthropic.node.ts +++ b/packages/@n8n/nodes-langchain/nodes/llms/LMChatAnthropic/LmChatAnthropic.node.ts @@ -155,8 +155,8 @@ export class LmChatAnthropic implements INodeType { type: 'resourceLocator', default: { mode: 'list', - value: 'claude-3-7-sonnet-20250219', - cachedResultName: 'Claude 3.7 Sonnet', + value: 'claude-sonnet-4-20250514', + cachedResultName: 'Claude 4 Sonnet', }, required: true, modes: [