Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultAPIURL = "https://models.dev/api.json"
)
Variables ¶
This section is empty.
Functions ¶
func CacheStale ¶
func CacheStale() bool
CacheStale returns true if the cache is missing or older than 24h.
func FetchOverrides ¶
FetchOverrides fetches the models.dev API and returns a map of overrides keyed by "provider/id" (lowercased). The host uses these to regenerate models.yaml from its embedded curated list, preserving cost and metadata.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.