sync_provider_configs

command
v0.17.21 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

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