Skip to content

Commit

Permalink
feat(Anthropic Chat Model Node): Add support for Haiku 3.5 (#11551)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegIvaniv authored Nov 5, 2024
1 parent fc49dc6 commit 8b39825
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* eslint-disable n8n-nodes-base/node-dirname-against-convention */

import { ChatAnthropic } from '@langchain/anthropic';
import type { LLMResult } from '@langchain/core/outputs';
import {
NodeConnectionType,
type INodePropertyOptions,
Expand All @@ -9,8 +12,6 @@ import {
type SupplyData,
} from 'n8n-workflow';

import { ChatAnthropic } from '@langchain/anthropic';
import type { LLMResult } from '@langchain/core/outputs';
import { getConnectionHintNoticeField } from '../../../utils/sharedFields';
import { N8nLlmTracing } from '../N8nLlmTracing';

Expand All @@ -36,6 +37,10 @@ const modelField: INodeProperties = {
name: 'Claude 3 Sonnet(20240229)',
value: 'claude-3-sonnet-20240229',
},
{
name: 'Claude 3.5 Haiku(20241022)',
value: 'claude-3-5-haiku-20241022',
},
{
name: 'Claude 3 Haiku(20240307)',
value: 'claude-3-haiku-20240307',
Expand Down

0 comments on commit 8b39825

Please sign in to comment.