Skip to main content

Module models

Module models 

Source
Expand description

Per-model context-window table (v0.4.1 P1-4).

Operators override via a models.toml shipped alongside their deployment; the constant table here is the fallback used when none is provided. Drift in vendor numbers is the main risk — the table is small and keyed by stable ModelId so a single rebase fixes the whole crate.

Structs§

ContextWindow

Enums§

ModelId

Constants§

MODEL_TABLE
Default per-model windows the planner uses when no override is provided. Numbers checked against vendor docs as of 2026-04-28; the planner is parameterised by ContextBudget so deployments with different reserves don’t need to ship a code change.

Functions§

lookup