Files
coder/coderd/aibridge/prices/data/README.md
T
Jake Howell 257c6f1dca refactor: move shared AI model UI into modules/aiModels (#29040)
> 🤖 Refactoring with Cursor.

AI settings was importing model form fields, ModelSelector, and
ProviderIcon from AgentsPage. Those now live in
`site/src/modules/aiModels`.

No user-facing behavior change.

- Move ProviderIcon, ModelSelector, and the model admin form fields into
`modules/aiModels`
- Point AgentsPage and AI settings at the new paths
- Drop the leftover ChatModelAdminPanel ProviderIcon duplicate and the
knownModels barrel
- Update the known-models catalog generator paths
2026-09-08 14:34:51 +10:00

657 B

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/modules/aiModels/knownModels/knownModelsGenerated.json are generated from that single patched snapshot; the catalog is additionally joined with the editorial curation in scripts/aibridgepricesgen/curation.json.