UNPKG

@juspay/neurolink

Version:

Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio

24 lines (23 loc) 1.04 kB
import { type LanguageModel, type Schema } from "ai"; import type { ZodType } from "zod"; import { type AIProviderName } from "../constants/enums.js"; import { BaseProvider } from "../core/baseProvider.js"; import type { StreamOptions, StreamResult } from "../types/index.js"; /** * Anthropic provider implementation using BaseProvider pattern * Migrated from direct API calls to Vercel AI SDK (@ai-sdk/anthropic) * Follows exact Google AI interface patterns for compatibility */ export declare class AnthropicProviderV2 extends BaseProvider { constructor(modelName?: string); protected getProviderName(): AIProviderName; protected getDefaultModel(): string; /** * Returns the Vercel AI SDK model instance for Anthropic */ protected getAISDKModel(): LanguageModel; protected formatProviderError(error: unknown): Error; private getApiKey; protected executeStream(options: StreamOptions, _analysisSchema?: ZodType | Schema<unknown>): Promise<StreamResult>; } export default AnthropicProviderV2;