Skip to content

fix: type

fix: type #187

Triggered via push April 10, 2024 02:25
Status Failure
Total duration 2m 0s
Artifacts 1

test.yml

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

Annotations

12 errors and 7 warnings
typecheck-examples
Variable 'chunk' is used before being assigned.
typecheck-examples
'chunk.options' is possibly 'undefined'.
typecheck-examples
Property 'toolCalls' does not exist on type 'OpenAIAdditionalChatOptions'.
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#L45
Variable 'chunk' is used before being assigned.
typecheck: examples/toolsStream.ts#L45
'chunk.options' is possibly 'undefined'.
typecheck: examples/toolsStream.ts#L45
Property 'toolCalls' does not exist on type 'OpenAIAdditionalChatOptions'.
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/.
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/.
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/.
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/.
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/.

Artifacts

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