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

84 lines (83 loc) • 3.47 kB
{ "$schema": "./provider-rules.schema.json", "id": "discovery", "healthCheckModels": { "anthropic": [ "claude-3-5-sonnet-20241022", "claude-3-haiku-20240307", "claude-3-opus-20240229" ], "openai": [ "gpt-5.4", "gpt-5.4-mini", "gpt-4o-mini", "gpt-4o", "gpt-3.5-turbo" ], "google-ai": ["gemini-3.8-flash", "gemini-2.5-pro", "gemini-2.5-flash"], "vertex": [ "gemini-3.8-flash", "gemini-2.5-pro", "gemini-2.5-flash", "gemini-2.5-flash-lite", "claude-sonnet-4@20250514", "claude-opus-4@20250514", "claude-3-5-sonnet-20241022", "claude-3-5-haiku-20241022", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-opus-20240229" ], "bedrock": [ "anthropic.claude-3-sonnet-20240229-v1:0", "anthropic.claude-3-haiku-20240307-v1:0" ], "azure": ["gpt-4o", "gpt-4o-mini", "gpt-35-turbo"], "litellm": [ "openai/gpt-5.4-mini", "anthropic/claude-haiku-4-5-20251001", "google/gemini-2.5-flash" ], "ollama": [ "gemma4:e2b", "llama3.2:latest", "llama3.1:latest", "mistral:latest" ] }, "healthCheckModelEnv": { "ollama": "OLLAMA_MODEL" }, "cacheDurationsMs": { "litellm.modelInfo": 600000, "litellm.models": 600000, "openrouter.models": 600000, "vertex.modelConfig": 300000, "anthropic.sessionThread": 240000 }, "anthropicCacheBreakpoints": { "max": 4 }, "toolSupportFallback": { "openrouter": [ "anthropic/claude", "openai/gpt-4", "openai/gpt-3.5", "openai/o1", "openai/o3", "openai/o4", "google/gemini", "google/gemma-3", "mistralai/mistral-large", "mistralai/mistral-small", "mistralai/devstral", "meta-llama/llama-3.3", "meta-llama/llama-3.2", "meta-llama/llama-3.1", "qwen/qwen3", "nvidia/nemotron" ] }, "topicNotes": { "healthCheckModels": "Models the health report lists for a provider (the first three are shown; Vertex shows its own text). A provider with no entry lists none. healthCheckModelEnv puts that variable's value first when it is set.", "cacheDurationsMs": "How long a discovered value is reused. LiteLLM /model/info limits and the /v1/models roster, OpenRouter's /models list: 10 minutes. Vertex model-config lookups: 5 minutes. An Anthropic session thread: 4 minutes, because the API drops one after 5 minutes idle. Mapping LiteLLM's /model/info payload to limits stays code (named hook litellm.modelInfoToLimits), with its in-flight dedupe.", "anthropicCacheBreakpoints": "Anthropic accepts at most four cache_control markers per request. Where they go (last tool, system, rolling history) stays code (named hook anthropic.placeHistoryBreakpoints): it walks the conversation.", "toolSupportFallback": "Model-id substrings (case-insensitive) assumed to support tools when OpenRouter's /models list could not be read; when the list is available, supported_parameters decides." } }