Skip to content

fix: types?

fix: types? #116

Triggered via push June 11, 2024 02:23
Status Failure
Total duration 24s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Build: src/components/App.tsx#L1
Module '"openai-streams"' has no exported member 'CreateCompletionResponseChoicesInner'.
Build: src/components/App.tsx#L1
Type 'CreateCompletionRequest[]' is not assignable to type 'ChatCompletionRequestMessage[]'.
Build: src/utils/prompt.ts#L1
Argument of type '{ role: string; content: string; }' is not assignable to parameter of type 'CreateCompletionRequest'.
Build: src/utils/prompt.ts#L1
Argument of type '{ role: string; content: string; }' is not assignable to parameter of type 'CreateCompletionRequest'.
Build: src/utils/prompt.ts#L1
Argument of type '{ role: string; content: string; }' is not assignable to parameter of type 'CreateCompletionRequest'.
Build: src/utils/prompt.ts#L1
Argument of type '{ role: string; content: string; }' is not assignable to parameter of type 'CreateCompletionRequest'.
Build: src/utils/prompt.ts#L1
Property 'role' does not exist on type 'CreateCompletionRequest'.
Build: src/utils/prompt.ts#L1
Property 'content' does not exist on type 'CreateCompletionRequest'.
Build: src/utils/types.ts#L1
Module '"openai-streams"' has no exported member 'ChatCompletionResponseMessage'.
Build
Process completed with exit code 2.
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/