Skip to content

System prompt

System prompt #233

Triggered via pull request March 15, 2024 18:50
Status Failure
Total duration 47s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
build (lts/*): src/components/ChatForm/ChatForm.stories.tsx#L157
Type '{ model: string; }' is not assignable to type 'Partial<{ onSubmit: (str: string) => void; onClose?: (() => void) | undefined; className?: string | undefined; clearError: () => {}; error: string | null; caps: ChatCapsState; model: string; ... 16 more ...; selectedSystemPrompt: string | null; }> & { ...; }'.
build (lts/*): src/components/ChatForm/ChatForm.test.tsx#L11
Type '{ onSubmit: (str: string) => void; onClose?: (() => void) | undefined; className?: string | undefined; clearError: () => void; error: string | null; caps: ChatCapsState; model: string; ... 16 more ...; selectedSystemPrompt?: string | ... 1 more ... | undefined; }' is not assignable to type 'ChatFormProps'.
build (lts/*): src/components/Select/Select.stories.tsx#L13
Type '{ value: string; label: string; }[]' is not assignable to type 'string[]'.
build (lts/*)
Process completed with exit code 2.
build (latest)
The job was canceled because "lts__" failed.
build (latest): src/components/ChatForm/ChatForm.stories.tsx#L157
Type '{ model: string; }' is not assignable to type 'Partial<{ onSubmit: (str: string) => void; onClose?: (() => void) | undefined; className?: string | undefined; clearError: () => {}; error: string | null; caps: ChatCapsState; model: string; ... 16 more ...; selectedSystemPrompt: string | null; }> & { ...; }'.
build (latest): src/components/ChatForm/ChatForm.test.tsx#L11
Type '{ onSubmit: (str: string) => void; onClose?: (() => void) | undefined; className?: string | undefined; clearError: () => void; error: string | null; caps: ChatCapsState; model: string; ... 16 more ...; selectedSystemPrompt?: string | ... 1 more ... | undefined; }' is not assignable to type 'ChatFormProps'.
build (latest): src/components/Select/Select.stories.tsx#L13
Type '{ value: string; label: string; }[]' is not assignable to type 'string[]'.
build (latest)
Process completed with exit code 2.
build (lts/*)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.