Skip to content

Commit 97a196e

Browse files
authored
Chore/patch deps (#4015)
patch deps
1 parent 86a26f6 commit 97a196e

File tree

6 files changed

+36070
-35397
lines changed

6 files changed

+36070
-35397
lines changed

package.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,28 @@
6262
"sqlite3"
6363
],
6464
"overrides": {
65-
"set-value": "^3.0.3"
65+
"axios": "1.7.9",
66+
"body-parser": "2.0.2",
67+
"braces": "3.0.3",
68+
"cross-spawn": "7.0.6",
69+
"glob-parent": "6.0.2",
70+
"http-proxy-middleware": "3.0.3",
71+
"json5": "2.2.3",
72+
"nth-check": "2.1.1",
73+
"path-to-regexp": "0.1.12",
74+
"prismjs": "1.29.0",
75+
"semver": "7.7.1",
76+
"set-value": "4.1.0",
77+
"unset-value": "2.0.1",
78+
"webpack-dev-middleware": "7.4.2"
6679
}
6780
},
6881
"engines": {
6982
"node": ">=18.15.0 <19.0.0 || ^20",
7083
"pnpm": ">=9"
7184
},
7285
"resolutions": {
73-
"@google/generative-ai": "^0.15.0",
86+
"@google/generative-ai": "^0.22.0",
7487
"@grpc/grpc-js": "^1.10.10",
7588
"@langchain/core": "0.3.37",
7689
"@qdrant/openapi-typescript-fetch": "1.2.6",

packages/components/nodes/chatmodels/ChatAnthropic/ChatAnthropic.ts

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ChatAnthropic_ChatModels implements INode {
2121
constructor() {
2222
this.label = 'ChatAnthropic'
2323
this.name = 'chatAnthropic'
24-
this.version = 7.0
24+
this.version = 8.0
2525
this.type = 'ChatAnthropic'
2626
this.icon = 'Anthropic.svg'
2727
this.category = 'Chat Models'
@@ -87,6 +87,24 @@ class ChatAnthropic_ChatModels implements INode {
8787
optional: true,
8888
additionalParams: true
8989
},
90+
{
91+
label: 'Extended Thinking',
92+
name: 'extendedThinking',
93+
type: 'boolean',
94+
description: 'Enable extended thinking for reasoning model such as Claude Sonnet 3.7',
95+
optional: true,
96+
additionalParams: true
97+
},
98+
{
99+
label: 'Budget Tokens',
100+
name: 'budgetTokens',
101+
type: 'number',
102+
step: 1,
103+
default: 1024,
104+
description: 'Maximum number of tokens Claude is allowed use for its internal reasoning process',
105+
optional: true,
106+
additionalParams: true
107+
},
90108
{
91109
label: 'Allow Image Uploads',
92110
name: 'allowImageUploads',
@@ -114,6 +132,8 @@ class ChatAnthropic_ChatModels implements INode {
114132
const topK = nodeData.inputs?.topK as string
115133
const streaming = nodeData.inputs?.streaming as boolean
116134
const cache = nodeData.inputs?.cache as BaseCache
135+
const extendedThinking = nodeData.inputs?.extendedThinking as boolean
136+
const budgetTokens = nodeData.inputs?.budgetTokens as string
117137

118138
const credentialData = await getCredentialData(nodeData.credential ?? '', options)
119139
const anthropicApiKey = getCredentialParam('anthropicApiKey', credentialData, nodeData)
@@ -131,6 +151,13 @@ class ChatAnthropic_ChatModels implements INode {
131151
if (topP) obj.topP = parseFloat(topP)
132152
if (topK) obj.topK = parseFloat(topK)
133153
if (cache) obj.cache = cache
154+
if (extendedThinking) {
155+
obj.thinking = {
156+
type: 'enabled',
157+
budget_tokens: parseInt(budgetTokens, 10)
158+
}
159+
delete obj.temperature
160+
}
134161

135162
const multiModalOption: IMultiModalOption = {
136163
image: {

packages/components/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@
3838
"@google-ai/generativelanguage": "^2.5.0",
3939
"@google/generative-ai": "^0.15.0",
4040
"@huggingface/inference": "^2.6.1",
41-
"@langchain/anthropic": "0.3.7",
42-
"@langchain/aws": "0.1.2",
41+
"@langchain/anthropic": "0.3.14",
42+
"@langchain/aws": "0.1.4",
4343
"@langchain/baidu-qianfan": "^0.1.0",
4444
"@langchain/cohere": "^0.0.7",
4545
"@langchain/community": "^0.3.24",
4646
"@langchain/core": "0.3.37",
4747
"@langchain/exa": "^0.0.5",
48-
"@langchain/google-genai": "0.1.3",
48+
"@langchain/google-genai": "0.1.9",
4949
"@langchain/google-vertexai": "^0.2.0",
5050
"@langchain/groq": "0.1.2",
5151
"@langchain/langgraph": "^0.0.22",
5252
"@langchain/mistralai": "^0.2.0",
5353
"@langchain/mongodb": "^0.0.1",
54-
"@langchain/ollama": "0.1.2",
55-
"@langchain/openai": "0.4.2",
54+
"@langchain/ollama": "0.2.0",
55+
"@langchain/openai": "0.4.4",
5656
"@langchain/pinecone": "^0.1.3",
5757
"@langchain/qdrant": "^0.0.5",
5858
"@langchain/weaviate": "^0.0.1",
@@ -72,7 +72,7 @@
7272
"@zilliz/milvus2-sdk-node": "^2.2.24",
7373
"apify-client": "^2.7.1",
7474
"assemblyai": "^4.2.2",
75-
"axios": "1.6.2",
75+
"axios": "1.7.9",
7676
"cheerio": "^1.0.0-rc.12",
7777
"chromadb": "^1.10.0",
7878
"cohere-ai": "^7.7.5",
@@ -130,7 +130,7 @@
130130
"typeorm": "^0.3.6",
131131
"weaviate-ts-client": "^1.1.0",
132132
"winston": "^3.9.0",
133-
"ws": "^8.9.0",
133+
"ws": "^8.18.0",
134134
"zod": "3.22.4",
135135
"zod-to-json-schema": "^3.21.4"
136136
},

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"@types/lodash": "^4.14.202",
7676
"@types/uuid": "^9.0.7",
7777
"async-mutex": "^0.4.0",
78-
"axios": "1.6.2",
78+
"axios": "1.7.9",
7979
"bull-board": "^2.1.3",
8080
"bullmq": "^5.13.2",
8181
"content-disposition": "0.5.4",

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@uiw/codemirror-theme-sublime": "^4.21.21",
2525
"@uiw/codemirror-theme-vscode": "^4.21.21",
2626
"@uiw/react-codemirror": "^4.21.21",
27-
"axios": "1.6.2",
27+
"axios": "1.7.9",
2828
"clsx": "^1.1.1",
2929
"dotenv": "^16.0.0",
3030
"flowise-embed": "latest",

0 commit comments

Comments
 (0)