mirror of
https://github.com/coder/coder.git
synced 2026-09-24 06:47:27 +08:00
Adds the full set of supported provider types to `scripts/aibridgepricesgen` and updates stored model prices. Notes: * We need to rename a few keys from models.dev JSON to match our internal provider types. * `prices.json` is now marked as generated. --------- Co-authored-by: Susana Ferreira <susana@coder.com>
AI Bridge price seed
prices.json in this directory is generated by make gen/aibridge-prices and
embedded into the Coder binary at build time. Do not edit it manually; the
next regeneration will overwrite any changes.
The Make target fetches models.dev once into _gen/models-dev.json, applying
the upstream corrections in scripts/aibridgepricesgen/overrides.jq. Both
prices.json and the frontend known-models catalog at
site/src/pages/AgentsPage/components/ChatModelAdminPanel/knownModels/knownModelsGenerated.json
are generated from that single patched snapshot; the catalog is additionally
joined with the editorial curation in
scripts/aibridgepricesgen/curation.json.