mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-30 05:13:59 +08:00
Fix agent snapshot history issues
This commit is contained in:
@@ -807,6 +807,8 @@ export default {
|
||||
'roleConfig.restartNotice': '保存配置后,需要重启设备,新的配置才会生效。',
|
||||
'roleConfig.saveConfig': '保存配置',
|
||||
'roleConfig.snapshotHistory': '历史版本',
|
||||
'roleConfig.currentVersion': '当前版本 {version}',
|
||||
'roleConfig.functionName': '功能名称',
|
||||
'roleConfig.reset': '重置',
|
||||
'roleConfig.agentName': '助手昵称',
|
||||
'roleConfig.roleTemplate': '角色模版',
|
||||
@@ -816,7 +818,7 @@ export default {
|
||||
'roleConfig.vad': '语音活动检测(VAD)',
|
||||
'roleConfig.asr': '语音识别(ASR)',
|
||||
'roleConfig.llm': '主语言模型(LLM)',
|
||||
"roleConfig.slm": "小参数模型(SLM)",
|
||||
'roleConfig.slm': '小参数模型(SLM)',
|
||||
'roleConfig.vllm': '视觉大模型(VLLM)',
|
||||
'roleConfig.intent': '意图识别(Intent)',
|
||||
'roleConfig.memoryHis': '记忆',
|
||||
@@ -873,6 +875,7 @@ export default {
|
||||
'agentSnapshot.actions': '操作',
|
||||
'agentSnapshot.view': '查看',
|
||||
'agentSnapshot.restore': '恢复',
|
||||
'agentSnapshot.delete': '删除',
|
||||
'agentSnapshot.detailTitle': '变更详情',
|
||||
'agentSnapshot.restorePreviewTitle': '恢复确认',
|
||||
'agentSnapshot.confirmRestore': '确认恢复',
|
||||
@@ -880,16 +883,28 @@ export default {
|
||||
'agentSnapshot.after': '变化后',
|
||||
'agentSnapshot.emptyValue': '无',
|
||||
'agentSnapshot.noChangedContent': '暂无可展示的变更内容',
|
||||
'agentSnapshot.restoreConfirm': '确定恢复到版本 #{version} 吗?当前配置会先自动保存为新的历史版本。',
|
||||
'agentSnapshot.noFunctionChange': '功能配置无变化',
|
||||
'agentSnapshot.beforeChange': '变化前',
|
||||
'agentSnapshot.afterChange': '变化后',
|
||||
'agentSnapshot.beforeRestore': '恢复前',
|
||||
'agentSnapshot.afterRestore': '恢复后',
|
||||
'agentSnapshot.restoreMemoryWarning': '恢复到无记忆版本会清空该智能体的聊天记录,请确认后再继续。',
|
||||
'agentSnapshot.restoreConfirm': '确定恢复到版本 {version} 吗?当前配置会先自动保存为新的历史版本。',
|
||||
'agentSnapshot.restoreSuccess': '已恢复历史版本',
|
||||
'agentSnapshot.restoreFailed': '恢复历史版本失败',
|
||||
'agentSnapshot.restoreFailedRollback': '恢复历史版本失败,事务已回滚,当前配置未改变',
|
||||
'agentSnapshot.deleteConfirm': '确定删除版本 {version} 吗?删除后不可恢复。',
|
||||
'agentSnapshot.deleteSuccess': '已删除历史版本',
|
||||
'agentSnapshot.deleteFailed': '删除历史版本失败',
|
||||
'agentSnapshot.fetchFailed': '获取历史版本失败',
|
||||
'agentSnapshot.detailFailed': '获取快照详情失败',
|
||||
'agentSnapshot.currentVersion': '当前版本',
|
||||
'agentSnapshot.source.config': '配置保存',
|
||||
'agentSnapshot.source.current': '当前配置',
|
||||
'agentSnapshot.source.restore': '恢复前',
|
||||
'agentSnapshot.source.initial': '初始版本',
|
||||
'agentSnapshot.field.restore': '恢复操作',
|
||||
'agentSnapshot.field.initial': '初始快照',
|
||||
'agentSnapshot.field.agentCode': '助手编码',
|
||||
'agentSnapshot.field.agentName': '助手昵称',
|
||||
'agentSnapshot.field.asrModelId': '语音识别',
|
||||
@@ -916,6 +931,52 @@ export default {
|
||||
'agentSnapshot.field.correctWordFileIds': '替换词',
|
||||
'agentSnapshot.field.tagNames': '标签',
|
||||
'agentSnapshot.field.tagIds': '标签ID',
|
||||
'agentSnapshot.function.added': '已开启',
|
||||
'agentSnapshot.function.removed': '已关闭',
|
||||
'agentSnapshot.function.updated': '参数变更',
|
||||
'agentSnapshot.function.enabled': '已开启',
|
||||
'agentSnapshot.function.disabled': '未开启',
|
||||
'agentSnapshot.function.disabledNote': '未开启此功能',
|
||||
'agentSnapshot.function.noParams': '无需配置参数',
|
||||
'agentSnapshot.chatHistoryConf.none': '不记录聊天记录',
|
||||
'agentSnapshot.chatHistoryConf.text': '上报文字',
|
||||
'agentSnapshot.chatHistoryConf.textVoice': '上报文字+语音',
|
||||
'agentSnapshot.plugin.SYSTEM_PLUGIN_WEATHER': '天气查询',
|
||||
'agentSnapshot.plugin.SYSTEM_PLUGIN_MUSIC': '服务器音乐播放',
|
||||
'agentSnapshot.plugin.SYSTEM_PLUGIN_NEWS_CHINANEWS': '中新网新闻',
|
||||
'agentSnapshot.plugin.SYSTEM_PLUGIN_NEWS_NEWSNOW': 'newsnow新闻聚合',
|
||||
'agentSnapshot.plugin.SYSTEM_PLUGIN_HA_GET_STATE': 'HomeAssistant设备状态查询',
|
||||
'agentSnapshot.plugin.SYSTEM_PLUGIN_HA_SET_STATE': 'HomeAssistant设备状态修改',
|
||||
'agentSnapshot.plugin.SYSTEM_PLUGIN_HA_PLAY_MUSIC': 'HomeAssistant音乐播放',
|
||||
'agentSnapshot.plugin.SYSTEM_PLUGIN_WEB_SEARCH': '联网搜索',
|
||||
'agentSnapshot.plugin.SYSTEM_PLUGIN_CALL_DEVICE': '设备呼叫设备',
|
||||
'agentSnapshot.pluginField.url': '接口地址',
|
||||
'agentSnapshot.pluginField.news_sources': '新闻源配置',
|
||||
'agentSnapshot.pluginField.default_rss_url': '默认 RSS 源',
|
||||
'agentSnapshot.pluginField.society_rss_url': '社会新闻 RSS 地址',
|
||||
'agentSnapshot.pluginField.world_rss_url': '国际新闻 RSS 地址',
|
||||
'agentSnapshot.pluginField.finance_rss_url': '财经新闻 RSS 地址',
|
||||
'agentSnapshot.pluginField.api_key': 'API 密钥',
|
||||
'agentSnapshot.pluginField.default_location': '默认查询城市',
|
||||
'agentSnapshot.pluginField.api_host': '开发者 API Host',
|
||||
'agentSnapshot.pluginField.base_url': '服务器地址',
|
||||
'agentSnapshot.pluginField.devices': '设备列表',
|
||||
'agentSnapshot.pluginField.provider': '搜索源',
|
||||
'agentSnapshot.pluginField.description': '工具描述',
|
||||
'agentSnapshot.pluginField.max_results': '返回数量',
|
||||
'agentSnapshot.model.Memory_nomem': '无记忆',
|
||||
'agentSnapshot.model.Memory_mem_local_short': '本地短记忆',
|
||||
'agentSnapshot.model.Memory_mem0ai': 'Mem0AI记忆',
|
||||
'agentSnapshot.model.Memory_mem_report_only': '仅上报记忆',
|
||||
'agentSnapshot.model.Intent_nointent': '无意图识别',
|
||||
'agentSnapshot.model.Intent_intent_llm': '外挂的大模型意图识别',
|
||||
'agentSnapshot.model.Intent_function_call': '大模型自主函数调用',
|
||||
'agentSnapshot.voice.TTS_EdgeTTS0001': 'EdgeTTS女声-晓晓',
|
||||
'agentSnapshot.voice.TTS_EdgeTTS0002': 'EdgeTTS男声-云扬',
|
||||
'agentSnapshot.voice.TTS_EdgeTTS0003': 'EdgeTTS女声-晓伊',
|
||||
'agentSnapshot.voice.TTS_EdgeTTS0004': 'EdgeTTS男声-云健',
|
||||
'agentSnapshot.voice.TTS_EdgeTTS0005': 'EdgeTTS男声-云希',
|
||||
'agentSnapshot.voice.TTS_EdgeTTS0006': 'EdgeTTS男声-云夏',
|
||||
|
||||
// 表单字段 Tooltip 提示说明
|
||||
'roleConfig.tooltip.agentName': '设置智能体的名称,用于标识和识别您的AI助手',
|
||||
@@ -928,7 +989,7 @@ export default {
|
||||
'roleConfig.tooltip.vad': '语音活动检测(Voice Activity Detection):检测用户何时开始或结束说话,用于判断对话的开始和结束,实现打断功能',
|
||||
'roleConfig.tooltip.asr': '自动语音识别(Automatic Speech Recognition):将用户的语音转换为文字,是人机对话的第一步,支持多语言识别',
|
||||
'roleConfig.tooltip.llm': '主语言模型(Large Language Model):AI助手的"大脑",负责理解用户意图、生成回答和执行各种任务',
|
||||
"roleConfig.tooltip.slm": '小参数模型(Small Language Model):用于智能体唤醒,生成记忆总结标题',
|
||||
'roleConfig.tooltip.slm': '小参数模型(Small Language Model):用于智能体唤醒,生成记忆总结标题',
|
||||
'roleConfig.tooltip.vllm': '视觉大语言模型(Visual LLM):处理图像和视频理解,使AI助手能够分析和描述摄像头捕获的画面内容',
|
||||
'roleConfig.tooltip.intent': '意图识别(Intent Detection):分析用户语音或文本,判断用户的真实意图,如查询、聊天、控制设备等',
|
||||
'roleConfig.tooltip.memory': '记忆模型(Memory Model):管理对话历史的存储和摘要,决定AI能否记住之前的对话内容,实现长期记忆功能',
|
||||
|
||||
Reference in New Issue
Block a user