Documentation
¶
Overview ¶
Command fetch-model-data downloads the LLM gateway's model prices and capabilities into pkg/modeldata/data, for a build to embed. It downloads them from the -url flag, or else MODEL_DATA_URL, and does nothing when neither is set: CI sets it for the images and release binaries it publishes. When it is set and the download fails or doesn't pass validation, it fails, so a published build never quietly ships without the data.
Click to show internal directories.
Click to hide internal directories.