调整代码

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
@@ -852,30 +852,8 @@ export default {
'agentTemplateManagement.confirmBatchDelete': 'Are you sure you want to delete the selected {count} templates?',
'agentTemplateManagement.deleteFailed': 'Template deletion failed',
'agentTemplateManagement.batchDeleteFailed': 'Template batch deletion failed',
'agentTemplateManagement.deleteBackendError': 'Deletion failed, please check if the backend service is working properly',
// agentTemplateManagement Dialog
'agentTemplateManagement.templateDialog.title': 'Template Configuration',
'agentTemplateManagement.templateDialog.templateName': 'Template Name',
'agentTemplateManagement.templateDialog.templateNamePlaceholder': 'Please enter template name',
'agentTemplateManagement.templateDialog.description': 'Description',
'agentTemplateManagement.templateDialog.descriptionPlaceholder': 'Please enter description',
'agentTemplateManagement.templateDialog.roleName': 'Role Name',
'agentTemplateManagement.templateDialog.roleNamePlaceholder': 'Please enter role name',
'agentTemplateManagement.templateDialog.avatar': 'Avatar',
'agentTemplateManagement.templateDialog.selectAvatar': 'Select Avatar',
'agentTemplateManagement.templateDialog.systemPrompt': 'System Prompt',
'agentTemplateManagement.templateDialog.systemPromptPlaceholder': 'Please enter system prompt',
'agentTemplateManagement.templateDialog.modelConfig': 'Model Configuration',
'agentTemplateManagement.templateDialog.modelName': 'Model Name',
'agentTemplateManagement.templateDialog.temperature': 'Temperature',
'agentTemplateManagement.templateDialog.topP': 'Top P',
'agentTemplateManagement.templateDialog.maxTokens': 'Max Tokens',
'agentTemplateManagement.templateDialog.save': 'Save',
'agentTemplateManagement.templateDialog.cancel': 'Cancel',
'agentTemplateManagement.templateDialog.nameRequired': 'Please enter template name',
'agentTemplateManagement.templateDialog.roleNameRequired': 'Please enter role name',
'agentTemplateManagement.templateDialog.systemPromptRequired': 'Please enter system prompt',
'agentTemplateManagement.deleteBackendError': 'Deletion failed, please check if the backend service is normal',
'agentTemplateManagement.deleteCancelled': 'Deletion cancelled',
// templateQuickConfig
'templateQuickConfig.title': 'Module Quick Configuration',
@@ -895,7 +873,14 @@ export default {
'templateQuickConfig.configReset': 'Configuration has been reset',
'templateQuickConfig.confirmReset': 'Are you sure you want to reset the configuration?',
'templateQuickConfig.success': 'Success',
'error': 'Error',
'templateQuickConfig.error': 'Error',
'templateQuickConfig.configSaveFailed': 'Template configuration save failed',
'templateQuickConfig.saveBackendError': 'Save failed, please check if the backend service is normal',
'templateQuickConfig.confirm': 'Confirm',
'templateQuickConfig.cancel': 'Cancel',
'templateQuickConfig.templateNotFound': 'Template not found',
'templateQuickConfig.fetchTemplateFailed': 'Failed to fetch template',
'templateQuickConfig.fetchTemplateBackendError': 'Failed to fetch template, please check if the backend service is normal',
'warning': 'Warning',
'info': 'Info'
}