mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-31 03:43:57 +08:00
feat: 新增智能体标签、上下文源功能
This commit is contained in:
@@ -73,6 +73,8 @@ export default {
|
||||
'home.minutesAgo': '分钟前',
|
||||
'home.hoursAgo': '小时前',
|
||||
'home.daysAgo': '天前',
|
||||
'home.languageModel': '语言模型',
|
||||
'home.voiceModel': '音色模型',
|
||||
|
||||
// Agent页面
|
||||
'agent.pageTitle': '智能体',
|
||||
@@ -92,6 +94,13 @@ export default {
|
||||
'agent.agentName': '助手昵称',
|
||||
'agent.inputAgentName': '请输入助手昵称',
|
||||
'agent.roleMode': '角色模式',
|
||||
'agent.agentTag': '智能体标签',
|
||||
'agent.addAgentTag': '添加标签',
|
||||
'agent.inputAgentTag': '请输入智能体标签',
|
||||
'agent.contextProvider': '上下文源',
|
||||
'agent.contextProviderSuccess': '已成功添加 {count} 个源。',
|
||||
'agent.contextProviderDocLink': '如何部署上下文源',
|
||||
'agent.editContextProvider': '编辑源',
|
||||
'agent.roleDescription': '角色介绍',
|
||||
'agent.inputRoleDescription': '请输入角色介绍',
|
||||
'agent.modelConfig': '模型配置',
|
||||
@@ -116,6 +125,20 @@ export default {
|
||||
'agent.pleaseInputRoleDescription': '请输入角色介绍',
|
||||
'agent.pleaseSelect': '请选择',
|
||||
|
||||
// 上下文源对话框相关
|
||||
'contextProviderDialog.title': '编辑源',
|
||||
'contextProviderDialog.noContextApi': '暂无上下文API',
|
||||
'contextProviderDialog.add': '添加',
|
||||
'contextProviderDialog.apiUrl': '接口地址',
|
||||
'contextProviderDialog.apiUrlPlaceholder': 'http://api.example.com/data',
|
||||
'contextProviderDialog.requestHeaders': '请求头',
|
||||
'contextProviderDialog.headerKeyPlaceholder': 'Key',
|
||||
'contextProviderDialog.headerValuePlaceholder': 'Value',
|
||||
'contextProviderDialog.noHeaders': '暂无 Headers',
|
||||
'contextProviderDialog.addHeader': '添加 Header',
|
||||
'contextProviderDialog.cancel': '取消',
|
||||
'contextProviderDialog.confirm': '确定',
|
||||
|
||||
// 聊天历史页面
|
||||
'chatHistory.getChatSessions': '获取聊天会话列表',
|
||||
'chatHistory.noSelectedAgent': '没有选中的智能体',
|
||||
|
||||
Reference in New Issue
Block a user