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

32 lines (31 loc) 1.33 kB
import type { ZodUnknownSchema } from "../types/typeAliases.js"; import { type Schema, type LanguageModelV1 } from "ai"; import type { AIProviderName } from "../core/types.js"; import type { StreamOptions, StreamResult } from "../types/streamTypes.js"; import { BaseProvider } from "../core/baseProvider.js"; /** * Amazon Bedrock Provider v2 - BaseProvider Implementation * * PHASE 3.3: Simple BaseProvider wrap around existing @ai-sdk/amazon-bedrock implementation * * Features: * - Extends BaseProvider for shared functionality * - Preserves existing AWS credential configuration * - Maintains inference profile ARN support * - Uses pre-initialized Bedrock instance for efficiency * - Enhanced error handling with setup guidance */ export declare class AmazonBedrockProvider extends BaseProvider { private bedrock; private model; constructor(modelName?: string); protected getProviderName(): AIProviderName; protected getDefaultModel(): string; /** * Returns the Vercel AI SDK model instance for AWS Bedrock */ protected getAISDKModel(): LanguageModelV1; protected executeStream(options: StreamOptions, analysisSchema?: ZodUnknownSchema | Schema<unknown>): Promise<StreamResult>; protected handleProviderError(error: unknown): Error; } export default AmazonBedrockProvider;