UNPKG

@juspay/neurolink

Version:

Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and

35 lines (34 loc) 1.25 kB
import { type LanguageModelV1 } from "ai"; import type { ValidationSchema } from "../types/typeAliases.js"; import type { AIProviderName } from "../core/types.js"; import type { StreamOptions, StreamResult } from "../types/streamTypes.js"; import { BaseProvider } from "../core/baseProvider.js"; /** * Mistral AI Provider v2 - BaseProvider Implementation * Supports official AI-SDK integration with all Mistral models */ export declare class MistralProvider extends BaseProvider { private model; constructor(modelName?: string, sdk?: unknown); protected executeStream(options: StreamOptions, analysisSchema?: ValidationSchema): Promise<StreamResult>; protected getProviderName(): AIProviderName; protected getDefaultModel(): string; /** * Returns the Vercel AI SDK model instance for Mistral */ protected getAISDKModel(): LanguageModelV1; protected handleProviderError(error: unknown): Error; /** * Validate provider configuration */ validateConfiguration(): Promise<boolean>; /** * Get provider-specific configuration */ getConfiguration(): { provider: AIProviderName; model: string; defaultModel: string; }; } export default MistralProvider;