fix(core): Fix memory issue with empty model response (#11300)
Some checks failed
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Has been cancelled

This commit is contained in:
Eugene 2024-10-22 15:08:42 +02:00 committed by GitHub
parent f98f0ead25
commit 216b119350
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 106 additions and 76 deletions

View file

@ -87,7 +87,8 @@
"pyodide@0.23.4": "patches/pyodide@0.23.4.patch", "pyodide@0.23.4": "patches/pyodide@0.23.4.patch",
"@types/express-serve-static-core@4.17.43": "patches/@types__express-serve-static-core@4.17.43.patch", "@types/express-serve-static-core@4.17.43": "patches/@types__express-serve-static-core@4.17.43.patch",
"@types/ws@8.5.4": "patches/@types__ws@8.5.4.patch", "@types/ws@8.5.4": "patches/@types__ws@8.5.4.patch",
"@types/uuencode@0.0.3": "patches/@types__uuencode@0.0.3.patch" "@types/uuencode@0.0.3": "patches/@types__uuencode@0.0.3.patch",
"@langchain/core@0.3.3": "patches/@langchain__core@0.3.3.patch"
} }
} }
} }

View file

@ -0,0 +1,26 @@
diff --git a/dist/memory.cjs b/dist/memory.cjs
index f5bceead9a5533ff71e0c6f6960384ced2ee0060..5085269a58493c29e36ea7384368cd64a0e979a5 100644
--- a/dist/memory.cjs
+++ b/dist/memory.cjs
@@ -41,7 +41,7 @@ exports.getInputValue = getInputValue;
*/
const getOutputValue = (outputValues, outputKey) => {
const value = getValue(outputValues, outputKey);
- if (!value) {
+ if (!value && value !== '') {
const keys = Object.keys(outputValues);
throw new Error(`output values have ${keys.length} keys, you must specify an output key or pass only 1 key as output`);
}
diff --git a/dist/memory.js b/dist/memory.js
index 8e221f55b151d0ff7592b30ca34363b9ec577e01..a3ff2a514eda6c7e606e8f6d7305535b29ab671e 100644
--- a/dist/memory.js
+++ b/dist/memory.js
@@ -36,7 +36,7 @@ export const getInputValue = (inputValues, inputKey) => {
*/
export const getOutputValue = (outputValues, outputKey) => {
const value = getValue(outputValues, outputKey);
- if (!value) {
+ if (!value && value !== '') {
const keys = Object.keys(outputValues);
throw new Error(`output values have ${keys.length} keys, you must specify an output key or pass only 1 key as output`);
}

View file

@ -103,6 +103,9 @@ overrides:
ws: '>=8.17.1' ws: '>=8.17.1'
patchedDependencies: patchedDependencies:
'@langchain/core@0.3.3':
hash: ekay3bw7hexufl733lypqvmx2e
path: patches/@langchain__core@0.3.3.patch
'@sentry/cli@2.36.2': '@sentry/cli@2.36.2':
hash: saib6xuadkfhahfipsdedqib2i hash: saib6xuadkfhahfipsdedqib2i
path: patches/@sentry__cli@2.36.2.patch path: patches/@sentry__cli@2.36.2.patch
@ -413,7 +416,7 @@ importers:
version: 3.666.0(@aws-sdk/client-sts@3.666.0) version: 3.666.0(@aws-sdk/client-sts@3.666.0)
'@getzep/zep-cloud': '@getzep/zep-cloud':
specifier: 1.0.12 specifier: 1.0.12
version: 1.0.12(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(langchain@0.3.2(u4cmnaniapk3e37ytin75vjstm)) version: 1.0.12(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(langchain@0.3.2(cbdnlo2gcodz2gzix466oterhe))
'@getzep/zep-js': '@getzep/zep-js':
specifier: 0.9.0 specifier: 0.9.0
version: 0.9.0 version: 0.9.0
@ -431,49 +434,49 @@ importers:
version: 2.8.0 version: 2.8.0
'@langchain/anthropic': '@langchain/anthropic':
specifier: 0.3.1 specifier: 0.3.1
version: 0.3.1(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13) version: 0.3.1(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)
'@langchain/aws': '@langchain/aws':
specifier: 0.1.0 specifier: 0.1.0
version: 0.1.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@aws-sdk/client-sts@3.666.0)(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))) version: 0.1.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@aws-sdk/client-sts@3.666.0)(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))
'@langchain/cohere': '@langchain/cohere':
specifier: 0.3.0 specifier: 0.3.0
version: 0.3.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13) version: 0.3.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)
'@langchain/community': '@langchain/community':
specifier: 0.3.2 specifier: 0.3.2
version: 0.3.2(ybvsmgvmojutmcl4aem5hlk5te) version: 0.3.2(rx3iiky3qnn44pzlnyiooyzaly)
'@langchain/core': '@langchain/core':
specifier: 'catalog:' specifier: 'catalog:'
version: 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) version: 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
'@langchain/google-genai': '@langchain/google-genai':
specifier: 0.1.0 specifier: 0.1.0
version: 0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(zod@3.23.8) version: 0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(zod@3.23.8)
'@langchain/google-vertexai': '@langchain/google-vertexai':
specifier: 0.1.0 specifier: 0.1.0
version: 0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(zod@3.23.8) version: 0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(zod@3.23.8)
'@langchain/groq': '@langchain/groq':
specifier: 0.1.2 specifier: 0.1.2
version: 0.1.2(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13) version: 0.1.2(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)
'@langchain/mistralai': '@langchain/mistralai':
specifier: 0.1.1 specifier: 0.1.1
version: 0.1.1(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13) version: 0.1.1(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)
'@langchain/ollama': '@langchain/ollama':
specifier: 0.1.0 specifier: 0.1.0
version: 0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))) version: 0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))
'@langchain/openai': '@langchain/openai':
specifier: 0.3.0 specifier: 0.3.0
version: 0.3.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13) version: 0.3.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)
'@langchain/pinecone': '@langchain/pinecone':
specifier: 0.1.0 specifier: 0.1.0
version: 0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))) version: 0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))
'@langchain/qdrant': '@langchain/qdrant':
specifier: 0.1.0 specifier: 0.1.0
version: 0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(typescript@5.6.2) version: 0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(typescript@5.6.2)
'@langchain/redis': '@langchain/redis':
specifier: 0.1.0 specifier: 0.1.0
version: 0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))) version: 0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))
'@langchain/textsplitters': '@langchain/textsplitters':
specifier: 0.1.0 specifier: 0.1.0
version: 0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))) version: 0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))
'@mozilla/readability': '@mozilla/readability':
specifier: 0.5.0 specifier: 0.5.0
version: 0.5.0 version: 0.5.0
@ -527,7 +530,7 @@ importers:
version: 23.0.1 version: 23.0.1
langchain: langchain:
specifier: 0.3.2 specifier: 0.3.2
version: 0.3.2(u4cmnaniapk3e37ytin75vjstm) version: 0.3.2(cbdnlo2gcodz2gzix466oterhe)
lodash: lodash:
specifier: 'catalog:' specifier: 'catalog:'
version: 4.17.21 version: 4.17.21
@ -1087,7 +1090,7 @@ importers:
dependencies: dependencies:
'@langchain/core': '@langchain/core':
specifier: 'catalog:' specifier: 'catalog:'
version: 0.3.3(openai@4.63.0(zod@3.23.8)) version: 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(zod@3.23.8))
'@n8n/client-oauth2': '@n8n/client-oauth2':
specifier: workspace:* specifier: workspace:*
version: link:../@n8n/client-oauth2 version: link:../@n8n/client-oauth2
@ -1915,7 +1918,7 @@ importers:
devDependencies: devDependencies:
'@langchain/core': '@langchain/core':
specifier: 'catalog:' specifier: 'catalog:'
version: 0.3.3(openai@4.63.0) version: 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0)
'@types/deep-equal': '@types/deep-equal':
specifier: ^1.0.1 specifier: ^1.0.1
version: 1.0.1 version: 1.0.1
@ -14124,7 +14127,7 @@ snapshots:
'@gar/promisify@1.1.3': '@gar/promisify@1.1.3':
optional: true optional: true
'@getzep/zep-cloud@1.0.12(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(langchain@0.3.2(u4cmnaniapk3e37ytin75vjstm))': '@getzep/zep-cloud@1.0.12(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(langchain@0.3.2(cbdnlo2gcodz2gzix466oterhe))':
dependencies: dependencies:
form-data: 4.0.0 form-data: 4.0.0
node-fetch: 2.7.0(encoding@0.1.13) node-fetch: 2.7.0(encoding@0.1.13)
@ -14132,8 +14135,8 @@ snapshots:
url-join: 4.0.1 url-join: 4.0.1
zod: 3.23.8 zod: 3.23.8
optionalDependencies: optionalDependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
langchain: 0.3.2(u4cmnaniapk3e37ytin75vjstm) langchain: 0.3.2(cbdnlo2gcodz2gzix466oterhe)
transitivePeerDependencies: transitivePeerDependencies:
- encoding - encoding
@ -14558,10 +14561,10 @@ snapshots:
'@kwsites/promise-deferred@1.1.1': {} '@kwsites/promise-deferred@1.1.1': {}
'@langchain/anthropic@0.3.1(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)': '@langchain/anthropic@0.3.1(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)':
dependencies: dependencies:
'@anthropic-ai/sdk': 0.27.3(encoding@0.1.13) '@anthropic-ai/sdk': 0.27.3(encoding@0.1.13)
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
fast-xml-parser: 4.4.1 fast-xml-parser: 4.4.1
zod: 3.23.8 zod: 3.23.8
zod-to-json-schema: 3.23.3(zod@3.23.8) zod-to-json-schema: 3.23.3(zod@3.23.8)
@ -14569,13 +14572,13 @@ snapshots:
- encoding - encoding
- supports-color - supports-color
'@langchain/aws@0.1.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@aws-sdk/client-sts@3.666.0)(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))': '@langchain/aws@0.1.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@aws-sdk/client-sts@3.666.0)(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))':
dependencies: dependencies:
'@aws-sdk/client-bedrock-agent-runtime': 3.666.0 '@aws-sdk/client-bedrock-agent-runtime': 3.666.0
'@aws-sdk/client-bedrock-runtime': 3.666.0 '@aws-sdk/client-bedrock-runtime': 3.666.0
'@aws-sdk/client-kendra': 3.666.0 '@aws-sdk/client-kendra': 3.666.0
'@aws-sdk/credential-provider-node': 3.666.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@aws-sdk/client-sts@3.666.0) '@aws-sdk/credential-provider-node': 3.666.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@aws-sdk/client-sts@3.666.0)
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
zod: 3.23.8 zod: 3.23.8
zod-to-json-schema: 3.23.3(zod@3.23.8) zod-to-json-schema: 3.23.3(zod@3.23.8)
transitivePeerDependencies: transitivePeerDependencies:
@ -14583,9 +14586,9 @@ snapshots:
- '@aws-sdk/client-sts' - '@aws-sdk/client-sts'
- aws-crt - aws-crt
'@langchain/cohere@0.3.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)': '@langchain/cohere@0.3.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)':
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
cohere-ai: 7.13.2(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(encoding@0.1.13) cohere-ai: 7.13.2(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(encoding@0.1.13)
uuid: 10.0.0 uuid: 10.0.0
zod: 3.23.8 zod: 3.23.8
@ -14595,15 +14598,15 @@ snapshots:
- aws-crt - aws-crt
- encoding - encoding
'@langchain/community@0.3.2(ybvsmgvmojutmcl4aem5hlk5te)': '@langchain/community@0.3.2(rx3iiky3qnn44pzlnyiooyzaly)':
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
'@langchain/openai': 0.3.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13) '@langchain/openai': 0.3.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)
binary-extensions: 2.2.0 binary-extensions: 2.2.0
expr-eval: 2.0.2 expr-eval: 2.0.2
flat: 5.0.2 flat: 5.0.2
js-yaml: 4.1.0 js-yaml: 4.1.0
langchain: 0.3.2(u4cmnaniapk3e37ytin75vjstm) langchain: 0.3.2(cbdnlo2gcodz2gzix466oterhe)
langsmith: 0.1.59(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) langsmith: 0.1.59(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
uuid: 10.0.0 uuid: 10.0.0
zod: 3.23.8 zod: 3.23.8
@ -14616,7 +14619,7 @@ snapshots:
'@aws-sdk/client-s3': 3.666.0 '@aws-sdk/client-s3': 3.666.0
'@aws-sdk/credential-provider-node': 3.666.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@aws-sdk/client-sts@3.666.0) '@aws-sdk/credential-provider-node': 3.666.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@aws-sdk/client-sts@3.666.0)
'@azure/storage-blob': 12.18.0(encoding@0.1.13) '@azure/storage-blob': 12.18.0(encoding@0.1.13)
'@getzep/zep-cloud': 1.0.12(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(langchain@0.3.2(u4cmnaniapk3e37ytin75vjstm)) '@getzep/zep-cloud': 1.0.12(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(langchain@0.3.2(cbdnlo2gcodz2gzix466oterhe))
'@getzep/zep-js': 0.9.0 '@getzep/zep-js': 0.9.0
'@google-ai/generativelanguage': 2.6.0(encoding@0.1.13) '@google-ai/generativelanguage': 2.6.0(encoding@0.1.13)
'@google-cloud/storage': 7.12.1(encoding@0.1.13) '@google-cloud/storage': 7.12.1(encoding@0.1.13)
@ -14664,7 +14667,7 @@ snapshots:
- peggy - peggy
- supports-color - supports-color
'@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))': '@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))':
dependencies: dependencies:
ansi-styles: 5.2.0 ansi-styles: 5.2.0
camelcase: 6.3.0 camelcase: 6.3.0
@ -14680,7 +14683,7 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- openai - openai
'@langchain/core@0.3.3(openai@4.63.0(zod@3.23.8))': '@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(zod@3.23.8))':
dependencies: dependencies:
ansi-styles: 5.2.0 ansi-styles: 5.2.0
camelcase: 6.3.0 camelcase: 6.3.0
@ -14696,7 +14699,7 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- openai - openai
'@langchain/core@0.3.3(openai@4.63.0)': '@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0)':
dependencies: dependencies:
ansi-styles: 5.2.0 ansi-styles: 5.2.0
camelcase: 6.3.0 camelcase: 6.3.0
@ -14712,45 +14715,45 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- openai - openai
'@langchain/google-common@0.1.1(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(zod@3.23.8)': '@langchain/google-common@0.1.1(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(zod@3.23.8)':
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
uuid: 10.0.0 uuid: 10.0.0
zod-to-json-schema: 3.23.3(zod@3.23.8) zod-to-json-schema: 3.23.3(zod@3.23.8)
transitivePeerDependencies: transitivePeerDependencies:
- zod - zod
'@langchain/google-gauth@0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(zod@3.23.8)': '@langchain/google-gauth@0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(zod@3.23.8)':
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
'@langchain/google-common': 0.1.1(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(zod@3.23.8) '@langchain/google-common': 0.1.1(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(zod@3.23.8)
google-auth-library: 8.9.0(encoding@0.1.13) google-auth-library: 8.9.0(encoding@0.1.13)
transitivePeerDependencies: transitivePeerDependencies:
- encoding - encoding
- supports-color - supports-color
- zod - zod
'@langchain/google-genai@0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(zod@3.23.8)': '@langchain/google-genai@0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(zod@3.23.8)':
dependencies: dependencies:
'@google/generative-ai': 0.7.1 '@google/generative-ai': 0.7.1
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
zod-to-json-schema: 3.23.3(zod@3.23.8) zod-to-json-schema: 3.23.3(zod@3.23.8)
transitivePeerDependencies: transitivePeerDependencies:
- zod - zod
'@langchain/google-vertexai@0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(zod@3.23.8)': '@langchain/google-vertexai@0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(zod@3.23.8)':
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
'@langchain/google-gauth': 0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(zod@3.23.8) '@langchain/google-gauth': 0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(zod@3.23.8)
transitivePeerDependencies: transitivePeerDependencies:
- encoding - encoding
- supports-color - supports-color
- zod - zod
'@langchain/groq@0.1.2(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)': '@langchain/groq@0.1.2(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)':
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
'@langchain/openai': 0.3.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13) '@langchain/openai': 0.3.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)
groq-sdk: 0.5.0(encoding@0.1.13) groq-sdk: 0.5.0(encoding@0.1.13)
zod: 3.23.8 zod: 3.23.8
zod-to-json-schema: 3.23.3(zod@3.23.8) zod-to-json-schema: 3.23.3(zod@3.23.8)
@ -14758,9 +14761,9 @@ snapshots:
- encoding - encoding
- supports-color - supports-color
'@langchain/mistralai@0.1.1(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)': '@langchain/mistralai@0.1.1(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)':
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
'@mistralai/mistralai': 0.4.0(encoding@0.1.13) '@mistralai/mistralai': 0.4.0(encoding@0.1.13)
uuid: 10.0.0 uuid: 10.0.0
zod: 3.23.8 zod: 3.23.8
@ -14768,15 +14771,15 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- encoding - encoding
'@langchain/ollama@0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))': '@langchain/ollama@0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))':
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
ollama: 0.5.6 ollama: 0.5.6
uuid: 10.0.0 uuid: 10.0.0
'@langchain/openai@0.3.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)': '@langchain/openai@0.3.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)':
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
js-tiktoken: 1.0.12 js-tiktoken: 1.0.12
openai: 4.63.0(encoding@0.1.13)(zod@3.23.8) openai: 4.63.0(encoding@0.1.13)(zod@3.23.8)
zod: 3.23.8 zod: 3.23.8
@ -14785,29 +14788,29 @@ snapshots:
- encoding - encoding
- supports-color - supports-color
'@langchain/pinecone@0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))': '@langchain/pinecone@0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))':
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
'@pinecone-database/pinecone': 3.0.3 '@pinecone-database/pinecone': 3.0.3
flat: 5.0.2 flat: 5.0.2
uuid: 10.0.0 uuid: 10.0.0
'@langchain/qdrant@0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(typescript@5.6.2)': '@langchain/qdrant@0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(typescript@5.6.2)':
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
'@qdrant/js-client-rest': 1.11.0(typescript@5.6.2) '@qdrant/js-client-rest': 1.11.0(typescript@5.6.2)
uuid: 10.0.0 uuid: 10.0.0
transitivePeerDependencies: transitivePeerDependencies:
- typescript - typescript
'@langchain/redis@0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))': '@langchain/redis@0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))':
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
redis: 4.6.14 redis: 4.6.14
'@langchain/textsplitters@0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))': '@langchain/textsplitters@0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))':
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
js-tiktoken: 1.0.12 js-tiktoken: 1.0.12
'@lezer/common@1.1.0': {} '@lezer/common@1.1.0': {}
@ -21446,11 +21449,11 @@ snapshots:
kuler@2.0.0: {} kuler@2.0.0: {}
langchain@0.3.2(u4cmnaniapk3e37ytin75vjstm): langchain@0.3.2(cbdnlo2gcodz2gzix466oterhe):
dependencies: dependencies:
'@langchain/core': 0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)) '@langchain/core': 0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))
'@langchain/openai': 0.3.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13) '@langchain/openai': 0.3.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)
'@langchain/textsplitters': 0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))) '@langchain/textsplitters': 0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))
js-tiktoken: 1.0.12 js-tiktoken: 1.0.12
js-yaml: 4.1.0 js-yaml: 4.1.0
jsonpointer: 5.0.1 jsonpointer: 5.0.1
@ -21462,14 +21465,14 @@ snapshots:
zod: 3.23.8 zod: 3.23.8
zod-to-json-schema: 3.23.3(zod@3.23.8) zod-to-json-schema: 3.23.3(zod@3.23.8)
optionalDependencies: optionalDependencies:
'@langchain/anthropic': 0.3.1(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13) '@langchain/anthropic': 0.3.1(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)
'@langchain/aws': 0.1.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@aws-sdk/client-sts@3.666.0)(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))) '@langchain/aws': 0.1.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@aws-sdk/client-sts@3.666.0)(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))
'@langchain/cohere': 0.3.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13) '@langchain/cohere': 0.3.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)
'@langchain/google-genai': 0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(zod@3.23.8) '@langchain/google-genai': 0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(zod@3.23.8)
'@langchain/google-vertexai': 0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(zod@3.23.8) '@langchain/google-vertexai': 0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)(zod@3.23.8)
'@langchain/groq': 0.1.2(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13) '@langchain/groq': 0.1.2(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)
'@langchain/mistralai': 0.1.1(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13) '@langchain/mistralai': 0.1.1(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))(encoding@0.1.13)
'@langchain/ollama': 0.1.0(@langchain/core@0.3.3(openai@4.63.0(encoding@0.1.13)(zod@3.23.8))) '@langchain/ollama': 0.1.0(@langchain/core@0.3.3(patch_hash=ekay3bw7hexufl733lypqvmx2e)(openai@4.63.0(encoding@0.1.13)(zod@3.23.8)))
axios: 1.7.7 axios: 1.7.7
cheerio: 1.0.0 cheerio: 1.0.0
handlebars: 4.7.8 handlebars: 4.7.8