feat: implement IM channel management in agent editor
- Introduced a new IMChannelPanel component for managing WeCom and Feishu channels. - Added CRUD operations for IM channels, including create, update, delete, and list functionalities. - Enhanced the backend with new API endpoints for IM channel management. - Updated documentation to reflect changes in IM integration and channel management. - Improved localization support for new IM-related UI elements across multiple languages.
This commit is contained in:
@@ -3252,6 +3252,25 @@ export default {
|
||||
dataSchemaDesc: 'Get metadata of tabular files',
|
||||
requiresKb: '(requires knowledge base configuration)',
|
||||
},
|
||||
im: {
|
||||
title: 'IM Integration',
|
||||
description: 'Connect agent to instant messaging platforms like WeCom and Feishu',
|
||||
wecom: 'WeCom',
|
||||
feishu: 'Feishu',
|
||||
addChannel: 'Add Channel',
|
||||
editChannel: 'Edit Channel',
|
||||
deleteConfirm: 'Are you sure you want to delete this channel? This action cannot be undone.',
|
||||
channelName: 'Channel Name',
|
||||
channelNamePlaceholder: 'Enter a name for easy identification',
|
||||
platform: 'Platform',
|
||||
mode: 'Connection Mode',
|
||||
outputMode: 'Output Mode',
|
||||
outputStream: 'Streaming',
|
||||
outputFull: 'Full Response',
|
||||
callbackUrl: 'Callback URL',
|
||||
empty: 'No IM channels yet. Click the button below to add one.',
|
||||
unnamed: 'Unnamed Channel',
|
||||
},
|
||||
mcp: {
|
||||
label: 'MCP Services',
|
||||
desc: 'Select MCP services available to the Agent',
|
||||
|
||||
@@ -3052,7 +3052,7 @@ export default {
|
||||
permissionEditable: "편집 가능",
|
||||
sharedKBs: "지식베이스",
|
||||
sharedAgents: "에이전트",
|
||||
},
|
||||
}
|
||||
},
|
||||
preview: {
|
||||
tab: '미리보기',
|
||||
@@ -3282,6 +3282,25 @@ export default {
|
||||
fallbackResponse: '응답할 수 없을 때 반환할 고정 텍스트',
|
||||
fallbackPrompt: '지식베이스에서 답변을 찾을 수 없을 때 모델 응답을 유도하는 프롬프트',
|
||||
},
|
||||
im: {
|
||||
title: "IM 통합",
|
||||
description: "에이전트를 WeCom, Feishu 등 인스턴트 메시징 플랫폼에 연결",
|
||||
wecom: "WeCom",
|
||||
feishu: "Feishu",
|
||||
addChannel: "채널 추가",
|
||||
editChannel: "채널 편집",
|
||||
deleteConfirm: "이 채널을 삭제하시겠습니까? 이 작업은 되돌릴 수 없습니다.",
|
||||
channelName: "채널 이름",
|
||||
channelNamePlaceholder: "식별하기 쉬운 이름을 입력하세요",
|
||||
platform: "플랫폼",
|
||||
mode: "연결 모드",
|
||||
outputMode: "출력 모드",
|
||||
outputStream: "스트리밍",
|
||||
outputFull: "전체 응답",
|
||||
callbackUrl: "콜백 URL",
|
||||
empty: "IM 채널이 없습니다. 아래 버튼을 클릭하여 추가하세요.",
|
||||
unnamed: "이름 없는 채널",
|
||||
},
|
||||
tools: {
|
||||
thinking: '사고',
|
||||
thinkingDesc: '동적이고 반성적인 문제 해결 사고 도구',
|
||||
|
||||
@@ -2835,6 +2835,25 @@ export default {
|
||||
dataSchemaDesc: 'Получение метаинформации табличных файлов',
|
||||
requiresKb: '(требуется настройка базы знаний)'
|
||||
},
|
||||
im: {
|
||||
title: 'Интеграция IM',
|
||||
description: 'Подключите агента к платформам мгновенных сообщений, таким как WeCom и Feishu',
|
||||
wecom: 'WeCom',
|
||||
feishu: 'Feishu',
|
||||
addChannel: 'Добавить канал',
|
||||
editChannel: 'Редактировать канал',
|
||||
deleteConfirm: 'Вы уверены, что хотите удалить этот канал? Это действие не может быть отменено.',
|
||||
channelName: 'Имя канала',
|
||||
channelNamePlaceholder: 'Введите имя для легкой идентификации',
|
||||
platform: 'Платформа',
|
||||
mode: 'Режим подключения',
|
||||
outputMode: 'Режим вывода',
|
||||
outputStream: 'Стриминг',
|
||||
outputFull: 'Полное выходное значение',
|
||||
callbackUrl: 'URL обратного вызова',
|
||||
empty: 'Нет IM каналов. Нажмите кнопку ниже, чтобы добавить один.',
|
||||
unnamed: 'Неименованный канал'
|
||||
},
|
||||
mcp: {
|
||||
label: 'MCP-сервисы',
|
||||
desc: 'Выберите MCP-сервисы, доступные агенту',
|
||||
|
||||
@@ -3227,6 +3227,25 @@ export default {
|
||||
fallbackResponse: "当无法回答时返回的固定文本",
|
||||
fallbackPrompt: "当无法从知识库找到答案时,引导模型生成回复的提示词",
|
||||
},
|
||||
im: {
|
||||
title: "IM 集成",
|
||||
description: "将智能体接入即时通讯平台,支持企业微信和飞书",
|
||||
wecom: "企业微信",
|
||||
feishu: "飞书",
|
||||
addChannel: "添加渠道",
|
||||
editChannel: "编辑渠道",
|
||||
deleteConfirm: "确定删除该渠道?删除后无法恢复。",
|
||||
channelName: "渠道名称",
|
||||
channelNamePlaceholder: "输入渠道名称,方便辨识",
|
||||
platform: "平台",
|
||||
mode: "接入模式",
|
||||
outputMode: "输出模式",
|
||||
outputStream: "流式输出",
|
||||
outputFull: "完整输出",
|
||||
callbackUrl: "回调地址",
|
||||
empty: "暂无 IM 渠道,点击下方按钮添加",
|
||||
unnamed: "未命名渠道",
|
||||
},
|
||||
tools: {
|
||||
thinking: "思考",
|
||||
thinkingDesc: "动态和反思性的问题解决思考工具",
|
||||
|
||||
Reference in New Issue
Block a user