Skip to content

core[minor],openai[patch],langchain[patch]: Allow tool functions to input ToolCall / return ToolMessage #14425

core[minor],openai[patch],langchain[patch]: Allow tool functions to input ToolCall / return ToolMessage

core[minor],openai[patch],langchain[patch]: Allow tool functions to input ToolCall / return ToolMessage #14425

Triggered via pull request July 12, 2024 01:00
Status Failure
Total duration 3m 5s
Artifacts

ci.yml

on: pull_request
Check linting
1m 52s
Check linting
test-exports  /  exports-esbuild
2m 44s
test-exports / exports-esbuild
test-exports  /  exports-esm
2m 45s
test-exports / exports-esm
test-exports  /  exports-cjs
2m 41s
test-exports / exports-cjs
test-exports  /  exports-cf
2m 48s
test-exports / exports-cf
test-exports  /  exports-vercel
2m 35s
test-exports / exports-vercel
test-exports  /  exports-vite
2m 49s
test-exports / exports-vite
test-exports  /  exports-tsc
2m 38s
test-exports / exports-tsc
Fit to window
Zoom out
Zoom in

Annotations

47 errors and 10 warnings
Check linting: langchain-core/src/tools/tests/tools.test.ts#L110
Unexpected any. Specify a different type
Check linting: langchain-core/src/tools/tests/tools.test.ts#L125
Unexpected focused test
Check linting: langchain-core/src/tools/tests/tools.test.ts#L131
Unexpected any. Specify a different type
Check linting
@langchain/core#lint: command (/home/runner/work/langchainjs/langchainjs/langchain-core) /tmp/xfs-c3fb3b70/yarn run lint exited (1)
Check linting
Process completed with exit code 1.
test-exports / exports-vercel
Interface 'DallEAPIWrapperParams' incorrectly extends interface 'ToolParams'.
test-exports / exports-vercel
Property 'responseFormat' in type 'DallEAPIWrapper' is not assignable to the same property in base type 'Tool<string>'.
test-exports / exports-vercel
Argument of type 'DallEAPIWrapperParams | undefined' is not assignable to parameter of type 'ToolParams | undefined'.
test-exports / exports-vercel
@langchain/openai#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-73faadd8/yarn run build:internal exited (1)
test-exports / exports-vercel
@langchain/openai#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-7f206329/yarn run build exited (1)
test-exports / exports-vercel
Process completed with exit code 1.
test-exports / exports-tsc
Interface 'DallEAPIWrapperParams' incorrectly extends interface 'ToolParams'.
test-exports / exports-tsc
@langchain/openai#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-77a7bc66/yarn run build:internal exited (1)
test-exports / exports-tsc
Property 'responseFormat' in type 'DallEAPIWrapper' is not assignable to the same property in base type 'Tool<string>'.
test-exports / exports-tsc
Argument of type 'DallEAPIWrapperParams | undefined' is not assignable to parameter of type 'ToolParams | undefined'.
test-exports / exports-tsc
@langchain/openai#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-26e50ac9/yarn run build exited (1)
test-exports / exports-tsc
Process completed with exit code 1.
test-exports / exports-cjs
Interface 'DallEAPIWrapperParams' incorrectly extends interface 'ToolParams'.
test-exports / exports-cjs
Property 'responseFormat' in type 'DallEAPIWrapper' is not assignable to the same property in base type 'Tool<string>'.
test-exports / exports-cjs
Argument of type 'DallEAPIWrapperParams | undefined' is not assignable to parameter of type 'ToolParams | undefined'.
test-exports / exports-cjs
@langchain/openai#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-163d409d/yarn run build:internal exited (1)
test-exports / exports-cjs
@langchain/openai#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-2f3f2fe4/yarn run build exited (1)
test-exports / exports-cjs
Process completed with exit code 1.
test-exports / exports-esbuild
Interface 'DallEAPIWrapperParams' incorrectly extends interface 'ToolParams'.
test-exports / exports-esbuild
Property 'responseFormat' in type 'DallEAPIWrapper' is not assignable to the same property in base type 'Tool<string>'.
test-exports / exports-esbuild
Argument of type 'DallEAPIWrapperParams | undefined' is not assignable to parameter of type 'ToolParams | undefined'.
test-exports / exports-esbuild
@langchain/openai#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-f20b9db3/yarn run build:internal exited (1)
test-exports / exports-esbuild
@langchain/openai#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-cd564a2a/yarn run build exited (1)
test-exports / exports-esbuild
Process completed with exit code 1.
test-exports / exports-esm
Interface 'DallEAPIWrapperParams' incorrectly extends interface 'ToolParams'.
test-exports / exports-esm
Property 'responseFormat' in type 'DallEAPIWrapper' is not assignable to the same property in base type 'Tool<string>'.
test-exports / exports-esm
Argument of type 'DallEAPIWrapperParams | undefined' is not assignable to parameter of type 'ToolParams | undefined'.
test-exports / exports-esm
@langchain/openai#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-2dcb4453/yarn run build:internal exited (1)
test-exports / exports-esm
@langchain/openai#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-1c1be6d4/yarn run build exited (1)
test-exports / exports-esm
Process completed with exit code 1.
test-exports / exports-cf
Interface 'DallEAPIWrapperParams' incorrectly extends interface 'ToolParams'.
test-exports / exports-cf
Property 'responseFormat' in type 'DallEAPIWrapper' is not assignable to the same property in base type 'Tool<string>'.
test-exports / exports-cf
Argument of type 'DallEAPIWrapperParams | undefined' is not assignable to parameter of type 'ToolParams | undefined'.
test-exports / exports-cf
@langchain/openai#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-4b65ea46/yarn run build:internal exited (1)
test-exports / exports-cf
@langchain/openai#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-40221c63/yarn run build exited (1)
test-exports / exports-cf
Process completed with exit code 1.
test-exports / exports-vite
Interface 'DallEAPIWrapperParams' incorrectly extends interface 'ToolParams'.
test-exports / exports-vite
Property 'responseFormat' in type 'DallEAPIWrapper' is not assignable to the same property in base type 'Tool<string>'.
test-exports / exports-vite
Argument of type 'DallEAPIWrapperParams | undefined' is not assignable to parameter of type 'ToolParams | undefined'.
test-exports / exports-vite
@langchain/openai#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-ee28e880/yarn run build:internal exited (1)
test-exports / exports-vite
@langchain/openai#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-32afc6a3/yarn run build exited (1)
test-exports / exports-vite
Process completed with exit code 1.
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
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-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-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-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-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-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/