fix types again? #117
Annotations
10 errors and 2 warnings
src/components/App.tsx#L1
Module '"openai-streams"' has no exported member 'ChatCompletionRequestMessageInner'.
|
src/components/App.tsx#L1
Type 'CreateCompletionRequest[]' is not assignable to type 'ChatCompletionRequestMessage[]'.
|
src/utils/prompt.ts#L1
Argument of type '{ role: string; content: string; }' is not assignable to parameter of type 'CreateCompletionRequest'.
|
src/utils/prompt.ts#L1
Argument of type '{ role: string; content: string; }' is not assignable to parameter of type 'CreateCompletionRequest'.
|
src/utils/prompt.ts#L1
Argument of type '{ role: string; content: string; }' is not assignable to parameter of type 'CreateCompletionRequest'.
|
src/utils/prompt.ts#L1
Argument of type '{ role: string; content: string; }' is not assignable to parameter of type 'CreateCompletionRequest'.
|
src/utils/prompt.ts#L1
Property 'role' does not exist on type 'CreateCompletionRequest'.
|
src/utils/prompt.ts#L1
Property 'content' does not exist on type 'CreateCompletionRequest'.
|
src/utils/types.ts#L1
Module '"openai-streams"' has no exported member 'ChatCompletionResponseMessage'.
|
|
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/.
|
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/
|
This job failed
Loading