@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
11 lines (10 loc) • 424 B
JavaScript
/**
* ModelPool types — multi-provider failover with per-member cooldown.
*
* A ModelPool holds an ordered list of (provider, model, region) members and
* selects among them per-turn using a configurable strategy. On provider
* failure, the pool cools down the failed member and retries with the next
* available one, using error-class-aware logic to distinguish retryable from
* permanent failures.
*/
export {};