Model Updater
Libre WebUI can refresh plugin model maps from provider APIs where the provider exposes a model-list endpoint. This keeps fallback model lists useful without hardcoding every provider catalog by hand.
When to Use It
Run the updater when:
- A provider releases models that do not appear in the UI.
- You changed provider credentials.
- You are preparing a release and want plugin maps refreshed.
- You are adding a new provider plugin.
The app can also discover models at runtime for supported plugins, so the updater is mainly a maintenance tool for repository model maps and fallback lists.
Run All Updaters
From the repository root:
./scripts/update-all-models.sh
The script detects configured API keys and skips providers that cannot be queried.
Provider Keys
Export the keys you want to use before running the updater:
export OPENAI_API_KEY="..."
export ANTHROPIC_API_KEY="..."
export GEMINI_API_KEY="..."
export GROQ_API_KEY="..."
export MISTRAL_API_KEY="..."
export OPENROUTER_API_KEY="..."
export GITHUB_API_KEY="..."
Only providers with available credentials and implemented update scripts are refreshed.
Review Changes
After updating:
git diff
npm run lint
Check that model IDs are valid, names are readable, and no provider-specific preview/billing-only model was added in a misleading way.
Documentation Rule
Do not copy a large provider catalog into the docs. Use examples for common workflows and let the UI/provider discovery show the current catalog.