Documentation
¶
Overview ¶
Command sync_provider_configs updates the embedded provider config models.available_models field to match the canonical registry.
After refresh_provider_catalog regenerates models/<id>.json canonical files, this command walks the embedded pkg/agent_providers/configs/ directory and syncs each provider's available_models list to match — but ONLY for providers whose embedded config currently has a non-empty available_models list. This preserves the live-discovery design (openai/deepinfra/lmstudio stay empty).
Usage:
sync_provider_configs --registry-dir=models sync_provider_configs --dry-run --registry-dir=models --configs-dir=pkg/agent_providers/configs
Click to show internal directories.
Click to hide internal directories.