Skip to content

Linting

Linting #289

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

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Test: app/lib/.server/llm/model.ts#L89
Cannot find name 'ollamaInstance'.
Test: app/lib/.server/llm/model.ts#L91
Cannot find name 'ollamaInstance'.
Test: app/lib/.server/llm/model.ts#L135
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Test: app/lib/.server/llm/model.ts#L141
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
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
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.