Skip to content

Linting

Linting #293

Re-run triggered November 22, 2024 16:52
Status Failure
Total duration 2m 33s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Test: app/lib/.server/llm/model.ts#L90
Property 'config' does not exist on type 'LanguageModelV1'.
Test: app/lib/.server/llm/stream-text.ts#L41
Type 'string | ProviderInfo' is not assignable to type 'string'.
Test: app/lib/.server/llm/stream-text.ts#L56
Type 'string' is not assignable to type 'ProviderInfo'.
Test: app/lib/.server/llm/stream-text.ts#L69
Type 'AnthropicMessagesLanguageModel | LanguageModelV1 | LanguageModelV1 | OpenRouterChatLanguageModel' is not assignable to type 'LanguageModelV1'.
Test: app/lib/.server/llm/stream-text.ts#L69
Argument of type 'ProviderInfo' is not assignable to parameter of type 'string'.
Test: app/lib/.server/llm/stream-text.ts#L72
Argument of type 'Message[]' is not assignable to parameter of type 'ConvertibleMessage[]'.
Test: app/routes/api.chat.ts#L15
Parameter 'cookieHeader' implicitly has an 'any' type.
Test: app/routes/api.chat.ts#L19
Parameter 'cookie' implicitly has an 'any' type.
Test: app/routes/api.chat.ts#L21
Parameter 'item' implicitly has an 'any' type.
Test: app/routes/api.chat.ts#L28
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.