Files
Aiden Cline b050eb5d8c feat(sync2): port Vercel AI Gateway
Language and decision models own token and cache prices (tiered prices as
context bands), context and output limits (OpenAI's input limit is the
window minus the output, the file's output when the catalog has none),
input and output kinds from tags, reasoning controls from the catalog's
reasoning_options (else the file's, else the -free route's base file or
the file named after its lab ID, in refine), tool_choice narrowed to the
lab's, the cache kinds the catalog tags, and the Responses, Messages and
Decisions tables. A file keeps its own name, description, family and tool
and reasoning support. Media files are rebuilt from the old module's
builder; symlinked files are left alone; dropped models are deleted.

Engine: reasoning controls a patch changes are written supported, toggle,
effort, budget, as the old sync wrote them (unit test).

Parity: same files on the recorded catalog. On a perturbed copy (prices,
a dropped cache read, tiers added and removed, efforts, an empty control
list, a toggle, a dropped cache tag and tool_choice, a new input kind,
limits, a renamed model, embedding, image and video changes, two dropped
models, new models with and without a lab, and a -free route that takes
its base file's controls) one file differs on purpose: a new standalone
file lists reasoning before tools, where the old sync wrote tools first.
2026-11-11 15:17:40 -06:00
..