feat: add moonshot provider for kimi k2 model #17375
Annotations
8 errors
Run TypeScript type check
Process completed with exit code 2.
|
Run TypeScript type check:
examples/ai-core/src/stream-text/moonshot.ts#L1
Cannot find module '@ai-sdk/moonshot' or its corresponding type declarations.
|
Run TypeScript type check:
examples/ai-core/src/stream-text/moonshot-tool-call.ts#L1
Cannot find module '@ai-sdk/moonshot' or its corresponding type declarations.
|
Run TypeScript type check:
examples/ai-core/src/generate-text/moonshot.ts#L1
Cannot find module '@ai-sdk/moonshot' or its corresponding type declarations.
|
Run TypeScript type check:
examples/ai-core/src/generate-text/moonshot-tool-call.ts#L1
Cannot find module '@ai-sdk/moonshot' or its corresponding type declarations.
|
Run TypeScript type check:
examples/ai-core/src/generate-text/moonshot-chatbot.ts#L35
Type '{ role: string; content: any; }[]' is not assignable to type 'ModelMessage[]'.
|
Run TypeScript type check:
examples/ai-core/src/generate-text/moonshot-chatbot.ts#L19
'text' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
|
Run TypeScript type check:
examples/ai-core/src/generate-text/moonshot-chatbot.ts#L1
Cannot find module '@ai-sdk/moonshot' or its corresponding type declarations.
|
Loading