feat(provider): refresh models per AI provider

This commit is contained in:
yiling
2026-11-29 12:48:43 +08:00
parent d315253450
commit 13d06f8ebc
36 changed files with 1497 additions and 4396 deletions
+18 -20
View File
@@ -459,27 +459,25 @@
"ai": "AI",
"providers": "Providers",
"providers_description": "Configure AI providers and their models for this team.",
"configured_ai_providers": "Configured AI Providers",
"provider_configured_badge": "Configured",
"provider_options": "Options for {name}",
"provider_refresh_models": "Refresh models",
"provider_refresh_action": "Refresh models for {name}",
"provider_refresh_loading": "Refreshing…",
"provider_refresh_missing_credentials": "Set an API key to refresh models.",
"provider_refresh_unsupported_connection": "Refresh is unavailable for this endpoint or API.",
"provider_refresh_failed": "Could not refresh models. Try again.",
"provider_refresh_no_new_models": "No new models for {name}.",
"provider_refresh_dialog_title": "New models for {name}",
"provider_refresh_dialog_description": "Select the models you want to add.",
"provider_refresh_select_visible": "Select visible",
"provider_refresh_deselect_visible": "Deselect visible",
"provider_refresh_add_selected": "Add selected",
"provider_refresh_add_selection": "Add selected ({count})",
"provider_refresh_imported": "Added {count} models to {name}.",
"provider_refresh_import_failed": "Could not add the selected models. Try again.",
"provider_refresh_stale": "This preview has expired or the connection changed. Refresh models again.",
"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",
+18 -20
View File
@@ -444,27 +444,25 @@
"ai": "AI",
"providers": "프로바이더",
"providers_description": "이 팀의 AI 프로바이더와 모델을 설정합니다.",
"configured_ai_providers": "설정된 AI 프로바이더",
"provider_configured_badge": "설정됨",
"provider_options": "{name} 옵션",
"provider_refresh_models": "모델 새로 고침",
"provider_refresh_action": "{name}의 모델 새로 고침",
"provider_refresh_loading": "새로 고치는 중…",
"provider_refresh_missing_credentials": "모델을 새로 고치려면 API 키를 설정하세요.",
"provider_refresh_unsupported_connection": "이 엔드포인트 또는 API에서는 모델을 새로 고칠 수 없습니다.",
"provider_refresh_failed": "모델을 새로 고침할 수 없습니다. 다시 시도하세요.",
"provider_refresh_no_new_models": "{name}에 새 모델이 없습니다.",
"provider_refresh_dialog_title": "{name}의 새 모델",
"provider_refresh_dialog_description": "추가할 모델을 선택하세요.",
"provider_refresh_select_visible": "표시된 모델 선택",
"provider_refresh_deselect_visible": "표시된 모델 선택 해제",
"provider_refresh_add_selected": "선택한 모델 추가",
"provider_refresh_add_selection": "선택한 모델 추가({count}개)",
"provider_refresh_imported": "{name}에 모델 {count}개를 추가했습니다.",
"provider_refresh_import_failed": "선택한 모델을 추가할 수 없습니다. 다시 시도하세요.",
"provider_refresh_stale": "미리 보기가 만료되었거나 연결이 변경되었습니다. 모델을 다시 새로 고치세요.",
"add_provider": "프로바이더 추가",
"sync_providers": "프로바이더 동기화",
"sync_providers_checking": "업데이트 확인 중...",
"sync_providers_dialog_title": "프로바이더 및 모델 동기화",
"sync_providers_dialog_description": "추가할 새 프로바이더와 모델을 선택하세요. 기존 프로바이더, 사용자 지정 엔드포인트, API 키, 모델 설정은 삭제되거나 변경되지 않습니다.",
"sync_providers_up_to_date": "모든 프로바이더와 모델이 최신 상태입니다.",
"sync_providers_select_all": "모두 선택",
"sync_providers_deselect_all": "모두 선택 해제",
"sync_providers_expand_all": "모두 펼치기",
"sync_providers_collapse_all": "모두 접기",
"sync_providers_search_placeholder": "새 프로바이더 또는 모델 필터...",
"sync_providers_new_provider": "새 프로바이더",
"sync_providers_existing_provider": "기존 프로바이더",
"sync_providers_new_models_count": "새 모델 {count}개",
"sync_providers_selected_count": "프로바이더 {providerCount}개에서 모델 {modelCount}개 선택됨",
"sync_providers_reasoning": "추론",
"sync_providers_context_window": "컨텍스트 {count}k",
"sync_providers_add_selected": "선택 항목 추가({count})",
"sync_providers_adding": "추가 중...",
"sync_providers_success": "프로바이더 {providerCount}개에 모델 {modelCount}개를 추가했습니다.",
"search_providers_placeholder": "프로바이더 검색...",
"no_providers_found": "프로바이더를 찾을 수 없습니다",
"built_in": "기본 제공",
+18 -20
View File
@@ -459,27 +459,25 @@
"ai": "AI",
"providers": "提供商",
"providers_description": "为此团队配置 AI 提供商及其模型。",
"configured_ai_providers": "已配置的 AI 提供商",
"provider_configured_badge": "已配置",
"provider_options": "{name} 的选项",
"provider_refresh_models": "刷新模型",
"provider_refresh_action": "刷新 {name} 的模型",
"provider_refresh_loading": "正在刷新…",
"provider_refresh_missing_credentials": "设置 API 密钥后即可刷新模型。",
"provider_refresh_unsupported_connection": "此端点或 API 不支持刷新模型。",
"provider_refresh_failed": "无法刷新模型,请重试。",
"provider_refresh_no_new_models": "{name} 暂无新模型。",
"provider_refresh_dialog_title": "{name} 的新模型",
"provider_refresh_dialog_description": "请选择要添加的模型。",
"provider_refresh_select_visible": "选中当前结果",
"provider_refresh_deselect_visible": "取消选中当前结果",
"provider_refresh_add_selected": "添加所选模型",
"provider_refresh_add_selection": "添加所选模型({count} 个)",
"provider_refresh_imported": "已向 {name} 添加 {count} 个模型。",
"provider_refresh_import_failed": "无法添加所选模型,请重试。",
"provider_refresh_stale": "预览已过期或连接已更改,请重新刷新模型。",
"add_provider": "添加提供商",
"sync_providers": "同步提供商",
"sync_providers_checking": "正在检查更新...",
"sync_providers_dialog_title": "同步提供商与模型",
"sync_providers_dialog_description": "选择您希望添加的新提供商和模型。现有的提供商、自定义端点、API 密钥和模型配置绝不会被删除或修改。",
"sync_providers_up_to_date": "所有提供商和模型均已是最新状态。",
"sync_providers_select_all": "全选",
"sync_providers_deselect_all": "取消全选",
"sync_providers_expand_all": "全部展开",
"sync_providers_collapse_all": "全部折叠",
"sync_providers_search_placeholder": "筛选新提供商或模型...",
"sync_providers_new_provider": "新提供商",
"sync_providers_existing_provider": "现有提供商",
"sync_providers_new_models_count": "{count} 个新模型",
"sync_providers_selected_count": "已选 {modelCount} 个模型,分布在 {providerCount} 个提供商中",
"sync_providers_reasoning": "深度思考",
"sync_providers_context_window": "{count}k 上下文",
"sync_providers_add_selected": "添加所选 ({count})",
"sync_providers_adding": "正在添加...",
"sync_providers_success": "已成功添加 {providerCount} 个提供商中的 {modelCount} 个模型。",
"search_providers_placeholder": "搜索提供商...",
"no_providers_found": "未找到提供商",
"built_in": "内置",