Skip to content

Unfinished refactoring and cleanup of provider settings #594

Unfinished refactoring and cleanup of provider settings

Unfinished refactoring and cleanup of provider settings #594

Triggered via pull request December 10, 2024 08:50
Status Failure
Total duration 55s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Test: app/components/chat/BaseChat.tsx#L124
Argument of type 'ProviderInfo[]' is not assignable to parameter of type 'SetStateAction<{ isEnabled: any; name: string; }[]>'.
Test: app/components/chat/ModelSelector.tsx#L38
Argument of type 'ProviderInfo[]' is not assignable to parameter of type 'SetStateAction<{ isEnabled: any; name: string; }[]>'.
Test: app/components/chat/ModelSelector.tsx#L83
No overload matches this call.
Test: app/components/chat/ModelSelector.tsx#L86
Argument of type '{ isEnabled: any; name: string; }' is not assignable to parameter of type 'ProviderInfo'.
Test: app/components/chat/ModelSelector.tsx#L97
Argument of type '(provider: ProviderInfo) => JSX.Element' is not assignable to parameter of type '(value: { isEnabled: any; name: string; }, index: number, array: { isEnabled: any; name: string; }[]) => Element'.
Test: app/components/settings/getProvidersInitialState.ts#L18
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '(v: PropertyKey) => boolean'.
Test
Process completed with exit code 2.
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636