调整代码

This commit is contained in:
LiJinHui
2025-09-20 17:30:00 +08:00
parent 0aec742bd3
commit 9e218281da
6 changed files with 208 additions and 492 deletions
+10 -25
View File
@@ -855,31 +855,8 @@ export default {
'agentTemplateManagement.deleteBackendError': '刪除失敗,請檢查後端服務是否正常',
'agentTemplateManagement.deleteCancelled': '已取消刪除',
// 預設角色管理對話框文本
'agentTemplateManagement.templateDialog.title': '模板配置',
'agentTemplateManagement.templateDialog.templateName': '模板名稱',
'agentTemplateManagement.templateDialog.templateNamePlaceholder': '請輸入模板名稱',
'agentTemplateManagement.templateDialog.description': '模板描述',
'agentTemplateManagement.templateDialog.descriptionPlaceholder': '請輸入模板描述',
'agentTemplateManagement.templateDialog.roleName': '角色名稱',
'agentTemplateManagement.templateDialog.roleNamePlaceholder': '請輸入角色名稱',
'agentTemplateManagement.templateDialog.avatar': '頭像',
'agentTemplateManagement.templateDialog.selectAvatar': '選擇頭像',
'agentTemplateManagement.templateDialog.systemPrompt': '系統提示詞',
'agentTemplateManagement.templateDialog.systemPromptPlaceholder': '請輸入系統提示詞',
'agentTemplateManagement.templateDialog.modelConfig': '模型配置',
'agentTemplateManagement.templateDialog.modelName': '模型名稱',
'agentTemplateManagement.templateDialog.temperature': '溫度',
'agentTemplateManagement.templateDialog.topP': 'Top P',
'agentTemplateManagement.templateDialog.maxTokens': '最大 tokens',
'agentTemplateManagement.templateDialog.save': '保存',
'agentTemplateManagement.templateDialog.cancel': '取消',
'agentTemplateManagement.templateDialog.nameRequired': '請輸入模板名稱',
'agentTemplateManagement.templateDialog.roleNameRequired': '請輸入角色名稱',
'agentTemplateManagement.templateDialog.systemPromptRequired': '請輸入系統提示詞',
// 模組快速配置頁面文本
'templateQuickConfig.title': '模組快速配置',
// 模板快速配置
'templateQuickConfig.title': '模組快速設定',
'templateQuickConfig.basicSettings': '基本設置',
'templateQuickConfig.agentSettings.agentName': '助手暱稱',
'templateQuickConfig.agentSettings.agentNamePlaceholder': '請輸入助手暱稱',
@@ -896,6 +873,14 @@ export default {
'templateQuickConfig.configReset': '配置已重置',
'templateQuickConfig.confirmReset': '確定要重置配置嗎?',
'templateQuickConfig.success': '成功',
'templateQuickConfig.error': '錯誤',
'templateQuickConfig.configSaveFailed': '模板配置保存失敗',
'templateQuickConfig.saveBackendError': '保存失敗,請檢查後端服務是否正常',
'templateQuickConfig.confirm': '確定',
'templateQuickConfig.cancel': '取消',
'templateQuickConfig.templateNotFound': '未找到指定模板',
'templateQuickConfig.fetchTemplateFailed': '獲取模板失敗',
'templateQuickConfig.fetchTemplateBackendError': '獲取模板失敗,請檢查後端服務是否正常',
'error': '錯誤',
'warning': '警告',
'info': '提示'