Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
feat: enhance IM channel panel with platform hints and localization updates
wizardchen37633f89ef35
diff --git a/frontend/src/components/IMChannelPanel.vue b/frontend/src/components/IMChannelPanel.vueindex b14049620..2e54e3a91 100644--- a/frontend/src/components/IMChannelPanel.vue+++ b/frontend/src/components/IMChannelPanel.vue@@ -104,6 +104,7 @@<t-radio-button value="websocket">WebSocket</t-radio-button><t-radio-button value="webhook">Webhook</t-radio-button></t-radio-group>+ <p class="form-hint">{{ $t('agentEditor.im.modeHint') }}</p></div><!-- Output mode -->@@ -120,6 +121,13 @@<!-- WeCom credentials --><template v-if="formData.platform === 'wecom'">+ <div class="platform-link-hint">+ <t-icon name="jump" class="hint-link-icon" />+ <a href="https://work.weixin.qq.com/" target="_blank" rel="noopener noreferrer" class="hint-link">+ {{ $t('agentEditor.im.wecomConsole') }}+ </a>+ <span class="hint-text">{{ $t('agentEditor.im.consoleTip') }}</span>+ </div><template v-if="formData.mode === 'websocket'"><div class="form-item"><label class="form-label">Bot ID</label>@@ -156,6 +164,13 @@<!-- Feishu credentials --><template v-if="formData.platform === 'feishu'">+ <div class="platform-link-hint">+ <t-icon name="jump" class="hint-link-icon" />+ <a href="https://open.feishu.cn/" target="_blank" rel="noopener noreferrer" class="hint-link">+ {{ $t('agentEditor.im.feishuConsole') }}+ </a>+ <span class="hint-text">{{ $t('agentEditor.im.consoleTip') }}</span>+ </div><div class="form-item"><label class="form-label">App ID</label><t-input v-model="formData.credentials.app_id" placeholder="App ID" />@@ -527,4 +542,41 @@ onMounted(() => {background: var(--td-component-stroke);margin: 4px 0;}++.form-hint {+ margin: 6px 0 0;+ font-size: 12px;+ color: var(--td-text-color-placeholder);+ line-height: 1.4;+}++.platform-link-hint {+ display: flex;+ align-items: center;+ gap: 4px;+ font-size: 12px;+ line-height: 1.4;+ color: var(--td-text-color-placeholder);++ .hint-link-icon {+ font-size: 12px;+ color: var(--td-brand-color);+ flex-shrink: 0;+ }++ .hint-link {+ color: var(--td-brand-color);+ text-decoration: none;+ font-weight: 500;+ white-space: nowrap;++ &:hover {+ text-decoration: underline;+ }+ }++ .hint-text {+ color: var(--td-text-color-placeholder);+ }+}</style>diff --git a/frontend/src/i18n/locales/en-US.ts b/frontend/src/i18n/locales/en-US.tsindex 2ddd23604..1f6174ff9 100755--- a/frontend/src/i18n/locales/en-US.ts+++ b/frontend/src/i18n/locales/en-US.ts@@ -3271,6 +3271,10 @@ export default {empty: 'No IM channels yet. Click the button below to add one.',unnamed: 'Unnamed Channel',docLink: 'Integration Guide',+ wecomConsole: 'WeCom Admin',+ feishuConsole: 'Feishu Open Platform',+ modeHint: 'WebSocket is recommended for easier setup',+ consoleTip: 'to get credentials',},mcp: {label: 'MCP Services',diff --git a/frontend/src/i18n/locales/ko-KR.ts b/frontend/src/i18n/locales/ko-KR.tsindex c19d2117d..ea538ad08 100755--- a/frontend/src/i18n/locales/ko-KR.ts+++ b/frontend/src/i18n/locales/ko-KR.ts@@ -3301,6 +3301,10 @@ export default {empty: "IM 채널이 없습니다. 아래 버튼을 클릭하여 추가하세요.",unnamed: "이름 없는 채널",docLink: "통합 가이드 보기",+ wecomConsole: "WeCom 관리 콘솔",+ feishuConsole: "Feishu 개발 플랫폼",+ modeHint: "WebSocket 방식이 설정이 더 간편하여 권장됩니다",+ consoleTip: "자격 증명 정보를 가져오세요",},tools: {thinking: '사고',diff --git a/frontend/src/i18n/locales/ru-RU.ts b/frontend/src/i18n/locales/ru-RU.tsindex fb7c6042e..8f831a9cc 100755--- a/frontend/src/i18n/locales/ru-RU.ts+++ b/frontend/src/i18n/locales/ru-RU.ts@@ -2854,6 +2854,10 @@ export default {empty: 'Нет IM каналов. Нажмите кнопку ниже, чтобы добавить один.',unnamed: 'Неименованный канал',docLink: 'Руководство по интеграции',+ wecomConsole: 'Консоль WeCom',+ feishuConsole: 'Платформа Feishu',+ modeHint: 'Рекомендуется WebSocket — проще настроить',+ consoleTip: 'для получения учётных данных',},mcp: {label: 'MCP-сервисы',diff --git a/frontend/src/i18n/locales/zh-CN.ts b/frontend/src/i18n/locales/zh-CN.tsindex 9e6bdd984..5d6670253 100755--- a/frontend/src/i18n/locales/zh-CN.ts+++ b/frontend/src/i18n/locales/zh-CN.ts@@ -3246,6 +3246,10 @@ export default {empty: "暂无 IM 渠道,点击下方按钮添加",unnamed: "未命名渠道",docLink: "查看接入文档",+ wecomConsole: "企业微信管理后台",+ feishuConsole: "飞书开放平台",+ modeHint: "推荐使用 WebSocket 方式接入,配置更简单",+ consoleTip: "前往获取凭证信息",},tools: {thinking: "思考",