feat(webui): add first-run AI setup flow

This commit is contained in:
Xubin Ren committed 2026-09-02 16:25:07 +08:00
1 parent 042f96f6ba
commit b47f0980f1
15 files changed
+401 -39

No files matched your search

+19 -2
View File
@@ -1193,8 +1193,25 @@
"stop": "Stop response",
"quotedContext": "Quoted context",
"removeQuotedContext": "Remove quoted context",
"modelNotConfigured": "Model not configured",
"configureModel": "Configure model",
"openModelSetup": "Open AI setup",
"chooseAI": "Choose your AI",
"modelSetup": {
"title": "Choose your AI",
"description": "Pick a starting point. You can change models at any time.",
"ready": "Ready",
"account": {
"title": "Connect an account",
"description": "Use a supported AI subscription."
},
"apiKey": {
"title": "Use an API key",
"description": "Bring a key from your preferred provider."
},
"local": {
"title": "Run locally",
"description": "Connect Ollama, LM Studio, or vLLM."
}
},
"switchModel": "Switch model for this chat",
"manageModels": "Manage models",
"context": {
+19 -2
View File
@@ -1180,8 +1180,25 @@
"stop": "Detener respuesta",
"quotedContext": "Contexto citado",
"removeQuotedContext": "Quitar contexto citado",
"modelNotConfigured": "Modelo no configurado",
"configureModel": "Configurar modelo",
"openModelSetup": "Abrir configuración de IA",
"chooseAI": "Elige tu IA",
"modelSetup": {
"title": "Elige tu IA",
"description": "Elige cómo empezar. Puedes cambiar de modelo en cualquier momento.",
"ready": "Listo",
"account": {
"title": "Conectar una cuenta",
"description": "Usa una suscripción de IA compatible."
},
"apiKey": {
"title": "Usar una clave API",
"description": "Usa una clave de tu proveedor preferido."
},
"local": {
"title": "Ejecutar localmente",
"description": "Conecta Ollama, LM Studio o vLLM."
}
},
"switchModel": "Cambiar el modelo de este chat",
"manageModels": "Gestionar modelos",
"context": {
+19 -2
View File
@@ -1179,8 +1179,25 @@
"stop": "Arrêter la réponse",
"quotedContext": "Contexte cité",
"removeQuotedContext": "Supprimer le contexte cité",
"modelNotConfigured": "Modèle non configuré",
"configureModel": "Configurer le modèle",
"openModelSetup": "Ouvrir la configuration de l’IA",
"chooseAI": "Choisissez votre IA",
"modelSetup": {
"title": "Choisissez votre IA",
"description": "Choisissez un point de départ. Vous pourrez changer de modèle à tout moment.",
"ready": "Prêt",
"account": {
"title": "Connecter un compte",
"description": "Utilisez un abonnement IA compatible."
},
"apiKey": {
"title": "Utiliser une clé API",
"description": "Utilisez la clé du fournisseur de votre choix."
},
"local": {
"title": "Exécuter localement",
"description": "Connectez Ollama, LM Studio ou vLLM."
}
},
"switchModel": "Changer le modèle de cette conversation",
"manageModels": "Gérer les modèles",
"context": {
+19 -2
View File
@@ -1179,8 +1179,25 @@
"stop": "Hentikan respons",
"quotedContext": "Konteks kutipan",
"removeQuotedContext": "Hapus konteks kutipan",
"modelNotConfigured": "Model belum dikonfigurasi",
"configureModel": "Konfigurasi model",
"openModelSetup": "Buka penyiapan AI",
"chooseAI": "Pilih AI Anda",
"modelSetup": {
"title": "Pilih AI Anda",
"description": "Pilih cara memulai. Anda dapat mengganti model kapan saja.",
"ready": "Siap",
"account": {
"title": "Hubungkan akun",
"description": "Gunakan langganan AI yang didukung."
},
"apiKey": {
"title": "Gunakan kunci API",
"description": "Gunakan kunci dari penyedia pilihan Anda."
},
"local": {
"title": "Jalankan secara lokal",
"description": "Hubungkan Ollama, LM Studio, atau vLLM."
}
},
"switchModel": "Ganti model untuk percakapan ini",
"manageModels": "Kelola model",
"context": {
+19 -2
View File
@@ -1179,8 +1179,25 @@
"stop": "応答を停止",
"quotedContext": "引用したコンテキスト",
"removeQuotedContext": "引用したコンテキストを削除",
"modelNotConfigured": "モデルが未設定です",
"configureModel": "モデルを設定",
"openModelSetup": "AI 設定を開く",
"chooseAI": "AI を選択",
"modelSetup": {
"title": "AI を選択",
"description": "開始方法を選んでください。モデルはいつでも変更できます。",
"ready": "準備完了",
"account": {
"title": "アカウントを接続",
"description": "対応する AI サブスクリプションを使用します。"
},
"apiKey": {
"title": "API キーを使用",
"description": "お好みのプロバイダーのキーを使用します。"
},
"local": {
"title": "ローカルで実行",
"description": "Ollama、LM Studio、vLLM に接続します。"
}
},
"switchModel": "この会話で使うモデルを切り替える",
"manageModels": "モデルを管理",
"context": {
+19 -2
View File
@@ -1179,8 +1179,25 @@
"stop": "응답 중지",
"quotedContext": "인용한 문맥",
"removeQuotedContext": "인용한 문맥 제거",
"modelNotConfigured": "모델이 설정되지 않음",
"configureModel": "모델 설정",
"openModelSetup": "AI 설정 열기",
"chooseAI": "AI 선택",
"modelSetup": {
"title": "AI 선택",
"description": "시작 방법을 선택하세요. 모델은 언제든 변경할 수 있습니다.",
"ready": "준비됨",
"account": {
"title": "계정 연결",
"description": "지원되는 AI 구독을 사용합니다."
},
"apiKey": {
"title": "API 키 사용",
"description": "선호하는 제공업체의 키를 사용합니다."
},
"local": {
"title": "로컬에서 실행",
"description": "Ollama, LM Studio 또는 vLLM에 연결합니다."
}
},
"switchModel": "이 대화에서 사용할 모델 전환",
"manageModels": "모델 관리",
"context": {
+19 -2
View File
@@ -1193,8 +1193,25 @@
"stop": "Parar resposta",
"quotedContext": "Contexto citado",
"removeQuotedContext": "Remover contexto citado",
"modelNotConfigured": "Modelo não configurado",
"configureModel": "Configurar modelo",
"openModelSetup": "Abrir configuração de IA",
"chooseAI": "Escolha sua IA",
"modelSetup": {
"title": "Escolha sua IA",
"description": "Escolha como começar. Você pode trocar de modelo a qualquer momento.",
"ready": "Pronto",
"account": {
"title": "Conectar uma conta",
"description": "Use uma assinatura de IA compatível."
},
"apiKey": {
"title": "Usar uma chave de API",
"description": "Use uma chave do seu provedor preferido."
},
"local": {
"title": "Executar localmente",
"description": "Conecte o Ollama, LM Studio ou vLLM."
}
},
"switchModel": "Alternar o modelo desta conversa",
"manageModels": "Gerenciar modelos",
"context": {
+19 -2
View File
@@ -1179,8 +1179,25 @@
"stop": "Dừng phản hồi",
"quotedContext": "Ngữ cảnh được trích dẫn",
"removeQuotedContext": "Xóa ngữ cảnh được trích dẫn",
"modelNotConfigured": "Chưa cấu hình mô hình",
"configureModel": "Cấu hình mô hình",
"openModelSetup": "Mở thiết lập AI",
"chooseAI": "Chọn AI của bạn",
"modelSetup": {
"title": "Chọn AI của bạn",
"description": "Chọn cách bắt đầu. Bạn có thể đổi mô hình bất cứ lúc nào.",
"ready": "Sẵn sàng",
"account": {
"title": "Kết nối tài khoản",
"description": "Dùng gói đăng ký AI được hỗ trợ."
},
"apiKey": {
"title": "Dùng khóa API",
"description": "Dùng khóa từ nhà cung cấp bạn chọn."
},
"local": {
"title": "Chạy cục bộ",
"description": "Kết nối Ollama, LM Studio hoặc vLLM."
}
},
"switchModel": "Chuyển mô hình cho cuộc trò chuyện này",
"manageModels": "Quản lý mô hình",
"context": {
+19 -2
View File
@@ -1192,8 +1192,25 @@
"stop": "停止响应",
"quotedContext": "引用内容",
"removeQuotedContext": "移除引用内容",
"modelNotConfigured": "模型未配置",
"configureModel": "配置模型",
"openModelSetup": "打开 AI 设置",
"chooseAI": "选择你的 AI",
"modelSetup": {
"title": "选择你的 AI",
"description": "选择一种开始方式,之后可随时更换模型。",
"ready": "已就绪",
"account": {
"title": "连接账户",
"description": "使用支持的 AI 订阅。"
},
"apiKey": {
"title": "使用 API 密钥",
"description": "使用你偏好的服务商密钥。"
},
"local": {
"title": "在本地运行",
"description": "连接 Ollama、LM Studio 或 vLLM。"
}
},
"switchModel": "切换本次对话所用模型",
"manageModels": "管理模型预设",
"context": {
+19 -2
View File
@@ -1179,8 +1179,25 @@
"stop": "停止回覆",
"quotedContext": "引用內容",
"removeQuotedContext": "移除引用內容",
"modelNotConfigured": "尚未設定模型",
"configureModel": "設定模型",
"openModelSetup": "開啟 AI 設定",
"chooseAI": "選擇你的 AI",
"modelSetup": {
"title": "選擇你的 AI",
"description": "選擇一種開始方式,之後可隨時更換模型。",
"ready": "已就緒",
"account": {
"title": "連結帳戶",
"description": "使用支援的 AI 訂閱。"
},
"apiKey": {
"title": "使用 API 金鑰",
"description": "使用你偏好的服務商金鑰。"
},
"local": {
"title": "在本機執行",
"description": "連結 Ollama、LM Studio 或 vLLM。"
}
},
"switchModel": "切換此對話使用的模型",
"manageModels": "管理模型預設",
"context": {