update_provider_models: Update Provider Models

View source: R/utils_models_update.R

update_provider_modelsR Documentation

Update Provider Models

Description

Fetches the model list from a provider's API and updates the local JSON config. Manually enriched metadata (pricing, context, capabilities, family, etc.) is preserved during re-sync: only the ID list is refreshed, existing enriched data is merged back.

Usage

update_provider_models(provider)

Arguments

provider

The name of the provider (e.g., "stepfun").

Value

Invisible TRUE on success.


aisdk documentation built on May 29, 2026, 9:07 a.m.