mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-04 06:12:10 +03:00
- Add POST /api/providers/[id]/sync-models endpoint that fetches models from a provider's /models API and replaces the full custom models list, preserving per-model compatibility overrides - Rewrite modelSyncScheduler to dynamically discover connections with autoSync enabled in providerSpecificData instead of a hardcoded list - Add replaceCustomModels() to db/models.ts for full list replacement while preserving existing compat flags - Log each model sync operation to call_logs for visibility in the Logs page - Add Auto-Sync toggle button next to "Import from /models" in the provider detail page UI - Add en/zh-CN i18n translations for auto-sync strings Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>