Skip to content

core[minor]: Convert runnable to tool #14362

core[minor]: Convert runnable to tool

core[minor]: Convert runnable to tool #14362

Triggered via pull request July 10, 2024 01:04
Status Failure
Total duration 5m 43s
Artifacts

ci.yml

on: pull_request
Check linting
5m 28s
Check linting
test-exports  /  exports-esbuild
2m 17s
test-exports / exports-esbuild
test-exports  /  exports-esm
2m 10s
test-exports / exports-esm
test-exports  /  exports-cjs
2m 13s
test-exports / exports-cjs
test-exports  /  exports-cf
2m 14s
test-exports / exports-cf
test-exports  /  exports-vercel
2m 10s
test-exports / exports-vercel
test-exports  /  exports-vite
2m 40s
test-exports / exports-vite
test-exports  /  exports-tsc
2m 19s
test-exports / exports-tsc
Fit to window
Zoom out
Zoom in

Annotations

56 errors and 18 warnings
test-exports / exports-esm
@langchain/core#build: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-d7a11db2/yarn run build exited (1)
test-exports / exports-esm
Property 'partial' in type 'ChatPromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseChatPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-esm
Type 'ChatPromptTemplate<RunInput extends Symbol ? ParamsFromFString<T> : RunInput, any>' is not assignable to type 'ChatPromptTemplate<InputValues | ExtractedFStringParams<T, RunInput>, any>'.
test-exports / exports-esm
Property 'partial' in type 'ImagePromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BasePromptTemplate<RunInput, ImagePromptValue, PartialVariableName>'.
test-exports / exports-esm
Property 'partial' in type 'PromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseStringPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-esm
Argument of type 'Runnable<RunInput, RunOutput, RunnableConfig> | Awaited<RunOutput>' is not assignable to parameter of type 'RunOutput | PromiseLike<RunOutput>'.
test-exports / exports-esm
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-615176f2/yarn run build:internal exited (1)
test-exports / exports-esm
Process completed with exit code 1.
test-exports / exports-vercel
Property 'partial' in type 'ChatPromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseChatPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-vercel
@langchain/core#build: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-443fee04/yarn run build exited (1)
test-exports / exports-vercel
Type 'ChatPromptTemplate<RunInput extends Symbol ? ParamsFromFString<T> : RunInput, any>' is not assignable to type 'ChatPromptTemplate<InputValues | ExtractedFStringParams<T, RunInput>, any>'.
test-exports / exports-vercel
Property 'partial' in type 'ImagePromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BasePromptTemplate<RunInput, ImagePromptValue, PartialVariableName>'.
test-exports / exports-vercel
Property 'partial' in type 'PromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseStringPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-vercel
Argument of type 'Runnable<RunInput, RunOutput, RunnableConfig> | Awaited<RunOutput>' is not assignable to parameter of type 'RunOutput | PromiseLike<RunOutput>'.
test-exports / exports-vercel
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-acdacd44/yarn run build:internal exited (1)
test-exports / exports-vercel
Process completed with exit code 1.
test-exports / exports-cf
@langchain/core#build: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-91df2378/yarn run build exited (1)
test-exports / exports-cf
Property 'partial' in type 'ChatPromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseChatPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-cf
Type 'ChatPromptTemplate<RunInput extends Symbol ? ParamsFromFString<T> : RunInput, any>' is not assignable to type 'ChatPromptTemplate<InputValues | ExtractedFStringParams<T, RunInput>, any>'.
test-exports / exports-cf
Property 'partial' in type 'ImagePromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BasePromptTemplate<RunInput, ImagePromptValue, PartialVariableName>'.
test-exports / exports-cf
Property 'partial' in type 'PromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseStringPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-cf
Argument of type 'Runnable<RunInput, RunOutput, RunnableConfig> | Awaited<RunOutput>' is not assignable to parameter of type 'RunOutput | PromiseLike<RunOutput>'.
test-exports / exports-cf
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-ae5ee99c/yarn run build:internal exited (1)
test-exports / exports-cf
Process completed with exit code 1.
test-exports / exports-cjs
Property 'partial' in type 'ChatPromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseChatPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-cjs
Type 'ChatPromptTemplate<RunInput extends Symbol ? ParamsFromFString<T> : RunInput, any>' is not assignable to type 'ChatPromptTemplate<InputValues | ExtractedFStringParams<T, RunInput>, any>'.
test-exports / exports-cjs
Property 'partial' in type 'ImagePromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BasePromptTemplate<RunInput, ImagePromptValue, PartialVariableName>'.
test-exports / exports-cjs
Property 'partial' in type 'PromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseStringPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-cjs
Argument of type 'Runnable<RunInput, RunOutput, RunnableConfig> | Awaited<RunOutput>' is not assignable to parameter of type 'RunOutput | PromiseLike<RunOutput>'.
test-exports / exports-cjs
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-252e1cd5/yarn run build:internal exited (1)
test-exports / exports-cjs
@langchain/core#build: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-cd26922c/yarn run build exited (1)
test-exports / exports-cjs
Process completed with exit code 1.
test-exports / exports-esbuild
@langchain/core#build: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-28ea653d/yarn run build exited (1)
test-exports / exports-esbuild
Property 'partial' in type 'ChatPromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseChatPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-esbuild
Type 'ChatPromptTemplate<RunInput extends Symbol ? ParamsFromFString<T> : RunInput, any>' is not assignable to type 'ChatPromptTemplate<InputValues | ExtractedFStringParams<T, RunInput>, any>'.
test-exports / exports-esbuild
Property 'partial' in type 'ImagePromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BasePromptTemplate<RunInput, ImagePromptValue, PartialVariableName>'.
test-exports / exports-esbuild
Property 'partial' in type 'PromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseStringPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-esbuild
Argument of type 'Runnable<RunInput, RunOutput, RunnableConfig> | Awaited<RunOutput>' is not assignable to parameter of type 'RunOutput | PromiseLike<RunOutput>'.
test-exports / exports-esbuild
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-f006c1a6/yarn run build:internal exited (1)
test-exports / exports-esbuild
Process completed with exit code 1.
test-exports / exports-tsc
@langchain/core#build: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-236cbf5f/yarn run build exited (1)
test-exports / exports-tsc
Property 'partial' in type 'ChatPromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseChatPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-tsc
Type 'ChatPromptTemplate<RunInput extends Symbol ? ParamsFromFString<T> : RunInput, any>' is not assignable to type 'ChatPromptTemplate<InputValues | ExtractedFStringParams<T, RunInput>, any>'.
test-exports / exports-tsc
Property 'partial' in type 'ImagePromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BasePromptTemplate<RunInput, ImagePromptValue, PartialVariableName>'.
test-exports / exports-tsc
Property 'partial' in type 'PromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseStringPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-tsc
Argument of type 'Runnable<RunInput, RunOutput, RunnableConfig> | Awaited<RunOutput>' is not assignable to parameter of type 'RunOutput | PromiseLike<RunOutput>'.
test-exports / exports-tsc
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-9edaadd3/yarn run build:internal exited (1)
test-exports / exports-tsc
Process completed with exit code 1.
test-exports / exports-vite
@langchain/core#build: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-68aa4c07/yarn run build exited (1)
test-exports / exports-vite
Property 'partial' in type 'ChatPromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseChatPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-vite
Type 'ChatPromptTemplate<RunInput extends Symbol ? ParamsFromFString<T> : RunInput, any>' is not assignable to type 'ChatPromptTemplate<InputValues | ExtractedFStringParams<T, RunInput>, any>'.
test-exports / exports-vite
Property 'partial' in type 'ImagePromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BasePromptTemplate<RunInput, ImagePromptValue, PartialVariableName>'.
test-exports / exports-vite
Property 'partial' in type 'PromptTemplate<RunInput, PartialVariableName>' is not assignable to the same property in base type 'BaseStringPromptTemplate<RunInput, PartialVariableName>'.
test-exports / exports-vite
Argument of type 'Runnable<RunInput, RunOutput, RunnableConfig> | Awaited<RunOutput>' is not assignable to parameter of type 'RunOutput | PromiseLike<RunOutput>'.
test-exports / exports-vite
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-5aabc446/yarn run build:internal exited (1)
test-exports / exports-vite
Process completed with exit code 1.
test-exports / exports-esm
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-exports / exports-vercel
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-exports / exports-cf
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-exports / exports-cjs
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-exports / exports-esbuild
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-exports / exports-tsc
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-exports / exports-vite
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check linting
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check linting: libs/create-langchain-integration/helpers/templates.ts#L10
Unexpected any. Specify a different type
Check linting: libs/create-langchain-integration/helpers/templates.ts#L28
Unexpected any. Specify a different type
Check linting: libs/langchain-standard-tests/src/base.ts#L7
Unexpected any. Specify a different type
Check linting: libs/langchain-standard-tests/src/integration_tests/chat_models.ts#L452
Unexpected any. Specify a different type
Check linting: libs/langchain-standard-tests/src/integration_tests/chat_models.ts#L459
Unexpected any. Specify a different type
Check linting: libs/langchain-standard-tests/src/integration_tests/chat_models.ts#L466
Unexpected any. Specify a different type
Check linting: libs/langchain-standard-tests/src/integration_tests/chat_models.ts#L473
Unexpected any. Specify a different type
Check linting: libs/langchain-standard-tests/src/integration_tests/chat_models.ts#L480
Unexpected any. Specify a different type
Check linting: libs/langchain-standard-tests/src/integration_tests/chat_models.ts#L487
Unexpected any. Specify a different type
Check linting: libs/langchain-standard-tests/src/integration_tests/chat_models.ts#L494
Unexpected any. Specify a different type