@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
4 lines (3 loc) • 312 B
TypeScript
import type { ProxyTokenBudgetLease } from "../types/index.js";
/** Observe consumed bytes only: no tee, eager draining, or unbounded SSE frame. */
export declare function observeAnthropicBudgetResponse(response: Response, lease: ProxyTokenBudgetLease, onSettlement: () => void, signal?: AbortSignal): Response;