Skip to content

fix(core): Adds typing for model streamEvents events, makes v2 the default #1404

fix(core): Adds typing for model streamEvents events, makes v2 the default

fix(core): Adds typing for model streamEvents events, makes v2 the default #1404

Triggered via pull request October 3, 2024 22:58
Status Failure
Total duration 4m 37s
Artifacts

test-exports.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

56 errors and 7 warnings
exports-esbuild
langchain#build: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-29380dad/yarn run build exited (1)
exports-esbuild
Property 'bindTools' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-esbuild
Type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to type 'Runnable<RunInput, AIMessageChunk, CallOptions>'.
exports-esbuild
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-esbuild
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-esbuild
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-esbuild
langchain#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-04312faf/yarn run build:internal exited (1)
exports-esbuild
Process completed with exit code 1.
exports-vite
langchain#build: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-3b8d6ffe/yarn run build exited (1)
exports-vite
Property 'bindTools' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-vite
Type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to type 'Runnable<RunInput, AIMessageChunk, CallOptions>'.
exports-vite
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-vite
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-vite
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-vite
langchain#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-790ef64d/yarn run build:internal exited (1)
exports-vite
Process completed with exit code 1.
exports-esm
langchain#build: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-3e2642b1/yarn run build exited (1)
exports-esm
Property 'bindTools' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-esm
Type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to type 'Runnable<RunInput, AIMessageChunk, CallOptions>'.
exports-esm
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-esm
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-esm
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-esm
langchain#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-29fc129c/yarn run build:internal exited (1)
exports-esm
Process completed with exit code 1.
exports-cf
langchain#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-825a9a8e/yarn run build:internal exited (1)
exports-cf
Property 'bindTools' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-cf
Type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to type 'Runnable<RunInput, AIMessageChunk, CallOptions>'.
exports-cf
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-cf
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-cf
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-cf
langchain#build: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-d788a08d/yarn run build exited (1)
exports-cf
Process completed with exit code 1.
exports-cjs
langchain#build: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-28a1a5c8/yarn run build exited (1)
exports-cjs
Property 'bindTools' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-cjs
Type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to type 'Runnable<RunInput, AIMessageChunk, CallOptions>'.
exports-cjs
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-cjs
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-cjs
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-cjs
langchain#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-c354a266/yarn run build:internal exited (1)
exports-cjs
Process completed with exit code 1.
exports-tsc
langchain#build: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-bbb52eec/yarn run build exited (1)
exports-tsc
Property 'bindTools' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-tsc
Type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to type 'Runnable<RunInput, AIMessageChunk, CallOptions>'.
exports-tsc
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-tsc
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-tsc
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-tsc
langchain#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-fdc20b83/yarn run build:internal exited (1)
exports-tsc
Process completed with exit code 1.
exports-vercel
langchain#build: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-63af23b0/yarn run build exited (1)
exports-vercel
Property 'bindTools' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-vercel
Type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to type 'Runnable<RunInput, AIMessageChunk, CallOptions>'.
exports-vercel
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-vercel
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-vercel
Property 'streamEvents' in type '_ConfigurableModel<RunInput, CallOptions>' is not assignable to the same property in base type 'BaseChatModel<CallOptions, AIMessageChunk>'.
exports-vercel
langchain#build:internal: command (/home/runner/work/langchainjs/langchainjs/langchain) /tmp/xfs-6151bcf7/yarn run build:internal exited (1)
exports-vercel
Process completed with exit code 1.
exports-esbuild
The following actions use a deprecated Node.js version 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/
exports-vite
The following actions use a deprecated Node.js version 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/
exports-esm
The following actions use a deprecated Node.js version 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/
exports-cf
The following actions use a deprecated Node.js version 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/
exports-cjs
The following actions use a deprecated Node.js version 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/
exports-tsc
The following actions use a deprecated Node.js version 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/
exports-vercel
The following actions use a deprecated Node.js version 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/