fetch-model-data

command
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL