Skip to content

Commit 3047069

Browse files
authored
Adding new Claude models to Anthropic app (#16831)
* Adding new Claude models to Anthropic app * Adjusting model prop
1 parent d441e60 commit 3047069

File tree

3 files changed

+40
-11
lines changed

3 files changed

+40
-11
lines changed

components/anthropic/actions/chat/chat.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ import constants from "../common/constants.mjs";
33

44
export default {
55
name: "Chat",
6-
version: "0.0.10",
6+
version: "0.1.0",
77
key: "anthropic-chat",
88
description: "The Chat API. [See the documentation](https://docs.anthropic.com/claude/reference/messages_post)",
99
type: "action",
1010
props: {
1111
anthropic,
1212
model: {
1313
label: "Model",
14-
description: "Select the model to use for your query. Defaults to the `claude-3-7-sonnet-20250219` model, which is Anthropic's latest Claude model.",
14+
description: "Select the model to use for your query. Defaults to the latest Claude model - [see the documentation](https://docs.anthropic.com/en/docs/about-claude/models/overview) for more information",
1515
type: "string",
1616
options: constants.MESSAGE_MODELS,
17-
default: constants.MESSAGE_MODELS[0],
17+
default: constants.MESSAGE_MODELS[0].value,
1818
},
1919
userMessage: {
2020
label: "User Message",
Lines changed: 36 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,40 @@
11
export default {
22
MESSAGE_MODELS: [
3-
"claude-3-7-sonnet-20250219",
4-
"claude-3-5-sonnet-20241022",
5-
"claude-3-5-haiku-20241022",
6-
"claude-3-5-sonnet-20240620",
7-
"claude-3-opus-20240229",
8-
"claude-3-sonnet-20240229",
9-
"claude-3-haiku-20240307",
3+
{
4+
label: "Claude Opus 4",
5+
value: "claude-opus-4-20250514",
6+
},
7+
{
8+
label: "Claude Sonnet 4",
9+
value: "claude-sonnet-4-20250514",
10+
},
11+
{
12+
label: "Claude Sonnet 3.7",
13+
value: "claude-3-7-sonnet-20250219",
14+
},
15+
{
16+
label: "Claude Sonnet 3.5 v2",
17+
value: "claude-3-5-sonnet-20241022",
18+
},
19+
{
20+
label: "Claude Haiku 3.5",
21+
value: "claude-3-5-haiku-20241022",
22+
},
23+
{
24+
label: "Claude Sonnet 3.5",
25+
value: "claude-3-5-sonnet-20240620",
26+
},
27+
{
28+
label: "Claude Opus 3",
29+
value: "claude-3-opus-20240229",
30+
},
31+
{
32+
label: "Claude Sonnet 3",
33+
value: "claude-3-sonnet-20240229",
34+
},
35+
{
36+
label: "Claude Haiku 3",
37+
value: "claude-3-haiku-20240307",
38+
},
1039
],
1140
};

components/anthropic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/anthropic",
3-
"version": "0.0.12",
3+
"version": "0.1.0",
44
"description": "Pipedream Anthropic (Claude) Components",
55
"main": "anthropic.app.mjs",
66
"keywords": [

0 commit comments

Comments
 (0)