@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
108 lines (107 loc) • 2.88 kB
TypeScript
/**
* Central configuration constants for NeuroLink
* Single source of truth for all default values
*/
export declare const IMAGE_GENERATION_MODELS: string[];
/**
* Boundary-aware test for whether `modelName` represents an image-generation
* model.
*
* Matches when the model name **equals** an entry in
* {@link IMAGE_GENERATION_MODELS} or contains the entry as a prefix followed
* by a separator (`-`, `_`, `:`, `/`, `.`) or end-of-string. This avoids
* accidental matches such as a custom fine-tune named `"my-V_1"` matching
* `"V_1"` via plain substring inclusion.
*/
export declare function isImageGenerationModel(modelName: string | undefined): boolean;
export declare const PDF_IMAGE_GENERATION_MODELS: string[];
export declare const GLOBAL_LOCATION_MODELS: string[];
export declare const DEFAULT_MAX_TOKENS: undefined;
export declare const DEFAULT_TEMPERATURE = 0.7;
export declare const DEFAULT_TIMEOUT = 60000;
export declare const DEFAULT_MAX_STEPS = 200;
export declare const DEFAULT_TOOL_MAX_RETRIES = 2;
export declare const STEP_LIMITS: {
min: number;
max: number;
default: number;
};
export declare const DEFAULT_EVALUATION_MAX_TOKENS = 500;
export declare const DEFAULT_ANALYSIS_MAX_TOKENS = 800;
export declare const DEFAULT_DOCUMENTATION_MAX_TOKENS = 12000;
export declare const PROVIDER_CONFIG: {
evaluation: {
maxTokens: number;
model: string;
temperature: number;
};
analysis: {
maxTokens: number;
temperature: number;
};
documentation: {
maxTokens: number;
temperature: number;
};
};
export declare const PROVIDER_MAX_TOKENS: {
anthropic: {
default: number;
};
openai: {
default: number;
};
"google-ai": {
default: number;
};
vertex: {
default: number;
};
bedrock: {
default: number;
};
azure: {
default: number;
};
mistral: {
default: number;
};
ollama: {
default: number;
};
litellm: {
default: number;
};
default: number;
};
export declare const CLI_LIMITS: {
maxTokens: {
min: number;
max: number;
default: undefined;
};
temperature: {
min: number;
max: number;
default: number;
};
};
export declare const PDF_LIMITS: {
MAX_SIZE_MB: number;
DEFAULT_MAX_PAGES: number;
};
export declare const SYSTEM_LIMITS: {
MAX_PROMPT_LENGTH: number;
HIGH_MEMORY_THRESHOLD: number;
LONG_TIMEOUT_WARNING: number;
DEFAULT_CONCURRENCY_LIMIT: number;
MAX_CONCURRENCY_LIMIT: number;
DEFAULT_RETRY_ATTEMPTS: number;
DEFAULT_INITIAL_DELAY: number;
DEFAULT_MAX_DELAY: number;
DEFAULT_BACKOFF_MULTIPLIER: number;
};
export declare const ENV_DEFAULTS: {
maxTokens: number | undefined;
temperature: number;
};