Linting #293
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 '{}'.
|