Skip to content

feat(core): Allow checking tool_calls on any BaseMessage without type casts #1986

feat(core): Allow checking tool_calls on any BaseMessage without type casts

feat(core): Allow checking tool_calls on any BaseMessage without type casts #1986

Triggered via pull request January 8, 2025 00:51
Status Failure
Total duration 4m 19s
Artifacts

test-exports.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

46 errors and 7 warnings
exports-vercel
Argument of type 'BaseMessage' is not assignable to parameter of type 'HumanMessage'.
exports-vercel
Argument of type 'BaseMessage' is not assignable to parameter of type 'SystemMessage'.
exports-vercel
@langchain/ollama#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-ollama) /tmp/xfs-03ec0d90/yarn run build:internal exited (1)
exports-vercel
@langchain/ollama#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-ollama) /tmp/xfs-91e76da5/yarn run build exited (1)
exports-vercel
Process completed with exit code 1.
exports-esbuild
Argument of type 'BaseMessage' is not assignable to parameter of type 'HumanMessage'.
exports-esbuild
Argument of type 'BaseMessage' is not assignable to parameter of type 'SystemMessage'.
exports-esbuild
@langchain/ollama#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-ollama) /tmp/xfs-daaf8cbf/yarn run build:internal exited (1)
exports-esbuild
@langchain/ollama#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-ollama) /tmp/xfs-d617a8f2/yarn run build exited (1)
exports-esbuild
Process completed with exit code 1.
exports-cjs
Argument of type 'BaseMessage' is not assignable to parameter of type 'HumanMessage'.
exports-cjs
Argument of type 'BaseMessage' is not assignable to parameter of type 'SystemMessage'.
exports-cjs
@langchain/ollama#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-ollama) /tmp/xfs-f3d5225b/yarn run build:internal exited (1)
exports-cjs
Argument of type 'BaseMessage' is not assignable to parameter of type 'HumanMessage'.
exports-cjs
Argument of type 'BaseMessage' is not assignable to parameter of type 'SystemMessage'.
exports-cjs
@langchain/ollama#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-ollama) /tmp/xfs-55f845a6/yarn run build exited (1)
exports-cjs
Process completed with exit code 1.
exports-vite
Argument of type 'BaseMessage' is not assignable to parameter of type 'HumanMessage'.
exports-vite
Argument of type 'BaseMessage' is not assignable to parameter of type 'SystemMessage'.
exports-vite
@langchain/ollama#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-ollama) /tmp/xfs-f011c0c7/yarn run build:internal exited (1)
exports-vite
Argument of type 'AIMessageChunk' is not assignable to parameter of type 'HumanMessage'.
exports-vite
@langchain/cohere#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-cohere) /tmp/xfs-af461672/yarn run build:internal exited (1)
exports-vite
@langchain/ollama#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-ollama) /tmp/xfs-22aca5bd/yarn run build exited (1)
exports-vite
Process completed with exit code 1.
exports-esm
Argument of type 'BaseMessage' is not assignable to parameter of type 'HumanMessage'.
exports-esm
Argument of type 'BaseMessage' is not assignable to parameter of type 'SystemMessage'.
exports-esm
@langchain/cerebras#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-cerebras) /tmp/xfs-19697722/yarn run build:internal exited (1)
exports-esm
@langchain/ollama#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-ollama) /tmp/xfs-25663f9b/yarn run build:internal exited (1)
exports-esm
Argument of type 'BaseMessage' is not assignable to parameter of type 'HumanMessage'.
exports-esm
Argument of type 'BaseMessage' is not assignable to parameter of type 'SystemMessage'.
exports-esm
@langchain/cerebras#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-cerebras) /tmp/xfs-a9a75604/yarn run build exited (1)
exports-esm
Process completed with exit code 1.
exports-cf
Argument of type 'BaseMessage' is not assignable to parameter of type 'HumanMessage'.
exports-cf
Argument of type 'BaseMessage' is not assignable to parameter of type 'SystemMessage'.
exports-cf
@langchain/cerebras#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-cerebras) /tmp/xfs-27638aca/yarn run build:internal exited (1)
exports-cf
Argument of type 'BaseMessage' is not assignable to parameter of type 'HumanMessage'.
exports-cf
Argument of type 'BaseMessage' is not assignable to parameter of type 'SystemMessage'.
exports-cf
@langchain/cerebras#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-cerebras) /tmp/xfs-e59e3369/yarn run build exited (1)
exports-cf
Process completed with exit code 1.
exports-tsc
No overload matches this call.
exports-tsc
No overload matches this call.
exports-tsc
@langchain/anthropic#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-anthropic) /tmp/xfs-4095d94d/yarn run build:internal exited (1)
exports-tsc
@langchain/anthropic#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-anthropic) /tmp/xfs-87b5c6be/yarn run build exited (1)
exports-tsc
Argument of type 'BaseMessage' is not assignable to parameter of type 'HumanMessage'.
exports-tsc
Argument of type 'BaseMessage' is not assignable to parameter of type 'SystemMessage'.
exports-tsc
Process completed with exit code 1.
exports-vercel
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
exports-esbuild
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
exports-cjs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
exports-vite
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
exports-esm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
exports-cf
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
exports-tsc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636