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

25 lines (24 loc) 1.04 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"; /** * Anthropic Provider v2 - BaseProvider Implementation * Fixed syntax and enhanced with proper error handling */ export declare class AnthropicProvider extends BaseProvider { private model; constructor(modelName?: string, sdk?: unknown); protected getProviderName(): AIProviderName; protected getDefaultModel(): string; /** * Returns the Vercel AI SDK model instance for Anthropic */ protected getAISDKModel(): LanguageModelV1; protected handleProviderError(error: unknown): Error; protected executeStream(options: StreamOptions, analysisSchema?: ValidationSchema): Promise<StreamResult>; isAvailable(): Promise<boolean>; getModel(): LanguageModelV1; } export default AnthropicProvider;