Skip to content

refactor: chat message type #185

refactor: chat message type

refactor: chat message type #185

Triggered via push April 10, 2024 01:51
Status Failure
Total duration 7m 40s
Artifacts 1

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 7 warnings
typecheck-examples
Property 'additionalKwargs' does not exist on type 'ChatResponseChunk'.
typecheck-examples
Process completed with exit code 2.
typecheck: packages/core/e2e/fixtures/llm/open_ai.ts#L57
Type '{ message: { content: string; role: "assistant"; }; }' does not satisfy the expected type 'ChatResponse<Record<string, unknown>>'.
typecheck: packages/core/tests/utility/mockOpenAI.ts#L56
Argument of type '{ message: { content: string; role: "assistant"; }; }' is not assignable to parameter of type 'ChatResponse<Record<string, unknown>> | PromiseLike<ChatResponse<Record<string, unknown>>>'.
typecheck: packages/core/tests/utility/mockOpenAI.ts#L77
Argument of type '{ message: { content: string; role: "assistant"; }; }' is not assignable to parameter of type 'ChatResponse<Record<string, unknown>> | PromiseLike<ChatResponse<Record<string, unknown>>>'.
typecheck: packages/core/tests/utility/mockOpenAI.ts#L157
Argument of type '{ message: { content: string; role: "assistant"; }; }' is not assignable to parameter of type 'ChatResponse<Record<string, unknown>> | PromiseLike<ChatResponse<Record<string, unknown>>>'.
typecheck: examples/toolsStream.ts#L41
Property 'additionalKwargs' does not exist on type 'ChatResponseChunk'.
typecheck
Process completed with exit code 2.
e2e
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
typecheck-examples
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test on Node.js 21.x
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
core-edge-runtime
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test on Node.js 20.x
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test on Node.js 18.x
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
typecheck-build-dist Expired
1.82 MB