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

18 lines (17 loc) 966 B
import type { ClaudeProxyModelTier, FallbackEntry, ParsedClaudeRequest, ProxyTranslationPlan } from "../types/index.js"; export declare function inferClaudeProxyModelTier(modelName: string): ClaudeProxyModelTier; /** * Build a translation plan for a Claude-compatible proxy request. * The plan lists the primary provider followed by eligible fallback targets. * All configured fallback entries are always eligible — no contract-based gating. * When no fallback chain is configured, an "auto-provider" entry is appended. */ export declare function buildProxyTranslationPlan(primary: { provider: string; model?: string; }, fallbackChain: FallbackEntry[], requestedModel: string, _parsed: ParsedClaudeRequest): ProxyTranslationPlan; /** * Parse the retry-after header from an upstream 429 response. * Returns milliseconds to wait, or 0 if no valid header present. */ export declare function parseRetryAfterMs(retryAfterHeader: string | null): number;