mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-04 15:14:10 +00:00
feat(provider): add provider and model sync feature with vendored generator (#378)
* feat(provider): vendor and adapt pi model generator - Vendor generate-models.ts, model-data.ts, and models-dev-reasoning-options.ts from @earendil-works/pi tag v0.82.1 - Adapt imports to use @earendil-works/pi-ai and expose generateModels programmatic function - Add compare.test.ts to verify vendored generator against original built-in catalog - Add packages/core/src/provider/generator to eslint ignores * feat(provider): add provider and model sync api and ui * feat(webui): add checkbox for existing providers and clean dialog description * feat(webui): add expand all and collapse all to sync providers dialog * refactor(provider): remove compare.test.ts and cli overhead from generate-models * fix(provider): add 30s timeout and strict error handling to sync catalog fetching * fix(e2e): eliminate drag-and-drop race condition on webkit Allow requestAnimationFrame collision updates to settle in dragCard helper before releasing pointer, and scope fileCard locator via data-testid to avoid matching sidebar tree items.
This commit is contained in:
@@ -311,6 +311,25 @@
|
||||
"providers_description": "Configure AI providers and their models for this team.",
|
||||
"configured_ai_providers": "Configured AI Providers",
|
||||
"add_provider": "Add Provider",
|
||||
"sync_providers": "Sync Providers",
|
||||
"sync_providers_checking": "Checking for updates...",
|
||||
"sync_providers_dialog_title": "Sync Providers & Models",
|
||||
"sync_providers_dialog_description": "Select the new providers and models you want to add. Existing providers, custom endpoints, API keys, and model configurations will never be deleted or modified.",
|
||||
"sync_providers_up_to_date": "All providers and models are already up to date.",
|
||||
"sync_providers_select_all": "Select All",
|
||||
"sync_providers_deselect_all": "Deselect All",
|
||||
"sync_providers_expand_all": "Expand All",
|
||||
"sync_providers_collapse_all": "Collapse All",
|
||||
"sync_providers_search_placeholder": "Filter new providers or models...",
|
||||
"sync_providers_new_provider": "New Provider",
|
||||
"sync_providers_existing_provider": "Existing Provider",
|
||||
"sync_providers_new_models_count": "{count} new models",
|
||||
"sync_providers_selected_count": "{modelCount} models selected across {providerCount} providers",
|
||||
"sync_providers_reasoning": "reasoning",
|
||||
"sync_providers_context_window": "{count}k ctx",
|
||||
"sync_providers_add_selected": "Add Selected ({count})",
|
||||
"sync_providers_adding": "Adding...",
|
||||
"sync_providers_success": "Successfully added {modelCount} models across {providerCount} providers.",
|
||||
"search_providers_placeholder": "Search providers...",
|
||||
"no_providers_found": "No providers found",
|
||||
"built_in": "Built-in",
|
||||
|
||||
Reference in New Issue
Block a user