vercel

package
v0.2.56 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: MPL-2.0 Imports: 12 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package vercel is the ai://decide backend for Vercel AI Gateway's evaluation API: POST https://ai-gateway.vercel.sh/v1/evaluate, documented at https://vercel.com/docs/ai-gateway/modalities/evaluation. The default model is TypeSafe AI's Jev (`typesafe-ai/jev`).

Wire translation is the only thing this package knows. The gateway calls a noul question `boolean` and reports `{type:"boolean", probability}`; the chassis contract says `noul` everywhere else, so the rename happens here in both directions and nowhere in txcl. Choice and score answers also carry a `confidence` on the live wire (verified 2026-09-21; not yet in Vercel's docs), which passes through as decide.Answer.Confidence.

The cleartext key (VERCEL_AI_KEY) is read from the secrets.SecretBag once per call, placed in the Authorization header, and never stored, logged, or traced. Error bodies that look key-related are replaced wholesale.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL