UNPKG

@juspay/neurolink

Version:

The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002

50 lines (49 loc) • 1.18 kB
/** * NeuroLink Configuration Types * Centralized configuration type definitions following the established architecture pattern */ /** * Default configuration values */ export const DEFAULT_CONFIG = { providers: { googleAi: { model: "gemini-2.5-pro", available: true, features: ["streaming", "functionCalling"], }, }, performance: { cache: { enabled: true, ttlMs: 300000, // 5 minutes strategy: "memory", maxSize: 1000, }, fallback: { enabled: true, maxAttempts: 3, delayMs: 1000, circuitBreaker: true, }, timeoutMs: 30000, // 30 seconds maxConcurrency: 5, }, analytics: { enabled: true, trackTokens: true, trackCosts: true, trackPerformance: true, retention: { days: 30, maxEntries: 10000, }, }, tools: { disableBuiltinTools: false, allowCustomTools: true, maxToolsPerProvider: 100, enableMCPTools: true, }, configVersion: "3.0.1", };