Skip to content

core[minor]: Convert runnable to tool #14359

core[minor]: Convert runnable to tool

core[minor]: Convert runnable to tool #14359

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

ci.yml

on: pull_request
Check linting
5m 24s
Check linting
test-exports  /  exports-esbuild
2m 7s
test-exports / exports-esbuild
test-exports  /  exports-esm
2m 5s
test-exports / exports-esm
test-exports  /  exports-cjs
2m 26s
test-exports / exports-cjs
test-exports  /  exports-cf
2m 14s
test-exports / exports-cf
test-exports  /  exports-vercel
2m 21s
test-exports / exports-vercel
test-exports  /  exports-vite
2m 5s
test-exports / exports-vite
test-exports  /  exports-tsc
2m 9s
test-exports / exports-tsc
Fit to window
Zoom out
Zoom in

Annotations

63 errors and 18 warnings
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
@langchain/core#build: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-e506b442/yarn run build exited (1)
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
Module '"./runnables/base.js"' declares 'convertRunnableToTool' locally, but it is not exported.
test-exports / exports-esm
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-89a4a892/yarn run build:internal exited (1)
test-exports / exports-esm
Process completed with exit code 1.
test-exports / exports-vite
@langchain/core#build: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-282d27d1/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
Module '"./runnables/base.js"' declares 'convertRunnableToTool' locally, but it is not exported.
test-exports / exports-vite
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-b22fd5cb/yarn run build:internal exited (1)
test-exports / exports-vite
Process completed with exit code 1.
test-exports / exports-esbuild
@langchain/core#build: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-1ff159a6/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
Module '"./runnables/base.js"' declares 'convertRunnableToTool' locally, but it is not exported.
test-exports / exports-esbuild
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-f7d00fbd/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-5845b76a/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
Module '"./runnables/base.js"' declares 'convertRunnableToTool' locally, but it is not exported.
test-exports / exports-tsc
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-d8b1a3ce/yarn run build:internal exited (1)
test-exports / exports-tsc
Process completed with exit code 1.
test-exports / exports-cf
@langchain/core#build: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-58d0498c/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
Module '"./runnables/base.js"' declares 'convertRunnableToTool' locally, but it is not exported.
test-exports / exports-cf
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-8b02ac7a/yarn run build:internal exited (1)
test-exports / exports-cf
Process completed with exit code 1.
test-exports / exports-vercel
@langchain/core#build: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-4aab03b5/yarn run build exited (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
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
Module '"./runnables/base.js"' declares 'convertRunnableToTool' locally, but it is not exported.
test-exports / exports-vercel
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-4bf9651d/yarn run build:internal exited (1)
test-exports / exports-vercel
Process completed with exit code 1.
test-exports / exports-cjs
@langchain/core#build: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-5b42dbde/yarn run build exited (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
Module '"./runnables/base.js"' declares 'convertRunnableToTool' locally, but it is not exported.
test-exports / exports-cjs
@langchain/core#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-2c0ef867/yarn run build:internal exited (1)
test-exports / exports-cjs
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-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/
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-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-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-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/
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