调整代码

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
+8 -26
View File
@@ -853,29 +853,6 @@ export default {
'agentTemplateManagement.batchDeleteFailed': '模板批量删除失败',
'agentTemplateManagement.deleteBackendError': '删除失败,请检查后端服务是否正常',
// 默认角色模版对话框文本
'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.basicSettings': '基本设置',
@@ -889,12 +866,17 @@ export default {
'templateQuickConfig.deviceSettings': '设备设置',
'templateQuickConfig.pluginSettings': '插件设置',
'templateQuickConfig.saveConfig': '保存配置',
'templateQuickConfig.resetConfig': '重置配置',
'templateQuickConfig.configSaved': '配置保存成功',
'templateQuickConfig.configReset': '配置已重置',
'templateQuickConfig.resetConfig': '配置已重置',
'templateQuickConfig.confirmReset': '确定要重置配置吗?',
'templateQuickConfig.success': '成功',
'templateQuickConfig.error': '错误',
'templateQuickConfig.configSaveFailed': '模板配置保存失败',
'templateQuickConfig.saveBackendError': '保存失败,请检查后端服务是否正常',
'templateQuickConfig.confirm': '确定',
'templateQuickConfig.cancel': '取消',
'templateQuickConfig.templateNotFound': '未找到指定模板',
'templateQuickConfig.fetchTemplateFailed': '获取模板失败',
'templateQuickConfig.fetchTemplateBackendError': '获取模板失败,请检查后端服务是否正常',
'warning': '警告',
'info': '提示'
}