@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
20 lines (19 loc) • 1.05 kB
TypeScript
import type { ProviderModelManifest } from "../../types/index.js";
/**
* Cloudflare Clef on Workers AI — the `decide` inference type, not text
* generation, and not the Workers AI text models of the `cloudflare` provider.
*
* `contextWindow` is the window Cloudflare's own error messages print: 65,536
* tokens for `clef` (the figure its model page documents) and 24,576 for
* `clef-flash`, which printed 65,536 on 2026-10-04 and 24,576 by 2026-10-20.
* The Workers AI endpoint ignored state text past about 2,048 tokens until
* 2026-10-04 and read far more on 2026-10-07 (hosted service or model:
* unknown), so NeuroLink enforces the limit on the descriptor's
* `decisionLimits`, not this. `vision` describes `generate()`
* input, which this provider does not serve; its image input is
* `DecisionRequest.images`.
*
* `maxOutputTokens` is required by the manifest type but has no honest value
* for a model that emits no text, so a small non-zero figure is used.
*/
export declare const cloudflareClefManifest: ProviderModelManifest;