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_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": "内置",