Chore/patch deps (#4015)

patch deps
This commit is contained in:
Henry Heng 2025-02-26 15:19:13 +00:00 committed by GitHub
parent 86a26f6ae3
commit 97a196e11a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 36276 additions and 35603 deletions

View File

@ -62,7 +62,20 @@
"sqlite3" "sqlite3"
], ],
"overrides": { "overrides": {
"set-value": "^3.0.3" "axios": "1.7.9",
"body-parser": "2.0.2",
"braces": "3.0.3",
"cross-spawn": "7.0.6",
"glob-parent": "6.0.2",
"http-proxy-middleware": "3.0.3",
"json5": "2.2.3",
"nth-check": "2.1.1",
"path-to-regexp": "0.1.12",
"prismjs": "1.29.0",
"semver": "7.7.1",
"set-value": "4.1.0",
"unset-value": "2.0.1",
"webpack-dev-middleware": "7.4.2"
} }
}, },
"engines": { "engines": {
@ -70,7 +83,7 @@
"pnpm": ">=9" "pnpm": ">=9"
}, },
"resolutions": { "resolutions": {
"@google/generative-ai": "^0.15.0", "@google/generative-ai": "^0.22.0",
"@grpc/grpc-js": "^1.10.10", "@grpc/grpc-js": "^1.10.10",
"@langchain/core": "0.3.37", "@langchain/core": "0.3.37",
"@qdrant/openapi-typescript-fetch": "1.2.6", "@qdrant/openapi-typescript-fetch": "1.2.6",

View File

@ -21,7 +21,7 @@ class ChatAnthropic_ChatModels implements INode {
constructor() { constructor() {
this.label = 'ChatAnthropic' this.label = 'ChatAnthropic'
this.name = 'chatAnthropic' this.name = 'chatAnthropic'
this.version = 7.0 this.version = 8.0
this.type = 'ChatAnthropic' this.type = 'ChatAnthropic'
this.icon = 'Anthropic.svg' this.icon = 'Anthropic.svg'
this.category = 'Chat Models' this.category = 'Chat Models'
@ -87,6 +87,24 @@ class ChatAnthropic_ChatModels implements INode {
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
{
label: 'Extended Thinking',
name: 'extendedThinking',
type: 'boolean',
description: 'Enable extended thinking for reasoning model such as Claude Sonnet 3.7',
optional: true,
additionalParams: true
},
{
label: 'Budget Tokens',
name: 'budgetTokens',
type: 'number',
step: 1,
default: 1024,
description: 'Maximum number of tokens Claude is allowed use for its internal reasoning process',
optional: true,
additionalParams: true
},
{ {
label: 'Allow Image Uploads', label: 'Allow Image Uploads',
name: 'allowImageUploads', name: 'allowImageUploads',
@ -114,6 +132,8 @@ class ChatAnthropic_ChatModels implements INode {
const topK = nodeData.inputs?.topK as string const topK = nodeData.inputs?.topK as string
const streaming = nodeData.inputs?.streaming as boolean const streaming = nodeData.inputs?.streaming as boolean
const cache = nodeData.inputs?.cache as BaseCache const cache = nodeData.inputs?.cache as BaseCache
const extendedThinking = nodeData.inputs?.extendedThinking as boolean
const budgetTokens = nodeData.inputs?.budgetTokens as string
const credentialData = await getCredentialData(nodeData.credential ?? '', options) const credentialData = await getCredentialData(nodeData.credential ?? '', options)
const anthropicApiKey = getCredentialParam('anthropicApiKey', credentialData, nodeData) const anthropicApiKey = getCredentialParam('anthropicApiKey', credentialData, nodeData)
@ -131,6 +151,13 @@ class ChatAnthropic_ChatModels implements INode {
if (topP) obj.topP = parseFloat(topP) if (topP) obj.topP = parseFloat(topP)
if (topK) obj.topK = parseFloat(topK) if (topK) obj.topK = parseFloat(topK)
if (cache) obj.cache = cache if (cache) obj.cache = cache
if (extendedThinking) {
obj.thinking = {
type: 'enabled',
budget_tokens: parseInt(budgetTokens, 10)
}
delete obj.temperature
}
const multiModalOption: IMultiModalOption = { const multiModalOption: IMultiModalOption = {
image: { image: {

View File

@ -38,21 +38,21 @@
"@google-ai/generativelanguage": "^2.5.0", "@google-ai/generativelanguage": "^2.5.0",
"@google/generative-ai": "^0.15.0", "@google/generative-ai": "^0.15.0",
"@huggingface/inference": "^2.6.1", "@huggingface/inference": "^2.6.1",
"@langchain/anthropic": "0.3.7", "@langchain/anthropic": "0.3.14",
"@langchain/aws": "0.1.2", "@langchain/aws": "0.1.4",
"@langchain/baidu-qianfan": "^0.1.0", "@langchain/baidu-qianfan": "^0.1.0",
"@langchain/cohere": "^0.0.7", "@langchain/cohere": "^0.0.7",
"@langchain/community": "^0.3.24", "@langchain/community": "^0.3.24",
"@langchain/core": "0.3.37", "@langchain/core": "0.3.37",
"@langchain/exa": "^0.0.5", "@langchain/exa": "^0.0.5",
"@langchain/google-genai": "0.1.3", "@langchain/google-genai": "0.1.9",
"@langchain/google-vertexai": "^0.2.0", "@langchain/google-vertexai": "^0.2.0",
"@langchain/groq": "0.1.2", "@langchain/groq": "0.1.2",
"@langchain/langgraph": "^0.0.22", "@langchain/langgraph": "^0.0.22",
"@langchain/mistralai": "^0.2.0", "@langchain/mistralai": "^0.2.0",
"@langchain/mongodb": "^0.0.1", "@langchain/mongodb": "^0.0.1",
"@langchain/ollama": "0.1.2", "@langchain/ollama": "0.2.0",
"@langchain/openai": "0.4.2", "@langchain/openai": "0.4.4",
"@langchain/pinecone": "^0.1.3", "@langchain/pinecone": "^0.1.3",
"@langchain/qdrant": "^0.0.5", "@langchain/qdrant": "^0.0.5",
"@langchain/weaviate": "^0.0.1", "@langchain/weaviate": "^0.0.1",
@ -72,7 +72,7 @@
"@zilliz/milvus2-sdk-node": "^2.2.24", "@zilliz/milvus2-sdk-node": "^2.2.24",
"apify-client": "^2.7.1", "apify-client": "^2.7.1",
"assemblyai": "^4.2.2", "assemblyai": "^4.2.2",
"axios": "1.6.2", "axios": "1.7.9",
"cheerio": "^1.0.0-rc.12", "cheerio": "^1.0.0-rc.12",
"chromadb": "^1.10.0", "chromadb": "^1.10.0",
"cohere-ai": "^7.7.5", "cohere-ai": "^7.7.5",
@ -130,7 +130,7 @@
"typeorm": "^0.3.6", "typeorm": "^0.3.6",
"weaviate-ts-client": "^1.1.0", "weaviate-ts-client": "^1.1.0",
"winston": "^3.9.0", "winston": "^3.9.0",
"ws": "^8.9.0", "ws": "^8.18.0",
"zod": "3.22.4", "zod": "3.22.4",
"zod-to-json-schema": "^3.21.4" "zod-to-json-schema": "^3.21.4"
}, },

View File

@ -75,7 +75,7 @@
"@types/lodash": "^4.14.202", "@types/lodash": "^4.14.202",
"@types/uuid": "^9.0.7", "@types/uuid": "^9.0.7",
"async-mutex": "^0.4.0", "async-mutex": "^0.4.0",
"axios": "1.6.2", "axios": "1.7.9",
"bull-board": "^2.1.3", "bull-board": "^2.1.3",
"bullmq": "^5.13.2", "bullmq": "^5.13.2",
"content-disposition": "0.5.4", "content-disposition": "0.5.4",

View File

@ -24,7 +24,7 @@
"@uiw/codemirror-theme-sublime": "^4.21.21", "@uiw/codemirror-theme-sublime": "^4.21.21",
"@uiw/codemirror-theme-vscode": "^4.21.21", "@uiw/codemirror-theme-vscode": "^4.21.21",
"@uiw/react-codemirror": "^4.21.21", "@uiw/react-codemirror": "^4.21.21",
"axios": "1.6.2", "axios": "1.7.9",
"clsx": "^1.1.1", "clsx": "^1.1.1",
"dotenv": "^16.0.0", "dotenv": "^16.0.0",
"flowise-embed": "latest", "flowise-embed": "latest",

File diff suppressed because one or more lines are too long