diff --git a/web/apps/web-ele/src/views/ai-platform/agent/index.vue b/web/apps/web-ele/src/views/ai-platform/agent/index.vue
index 66b366e..823a14b 100644
--- a/web/apps/web-ele/src/views/ai-platform/agent/index.vue
+++ b/web/apps/web-ele/src/views/ai-platform/agent/index.vue
@@ -39,7 +39,6 @@ import {
ElOption,
ElPagination,
ElSelect,
- ElSwitch,
ElTag,
ElTooltip,
} from 'element-plus';
@@ -63,9 +62,6 @@ defineOptions({ name: 'AgentList' });
const router = useRouter();
const appContextStore = useAppContextStore();
-// 是否在主应用下(只有主应用才显示“子应用可见”开关)
-const isMainApp = !appContextStore.currentApp?.id;
-
// 搜索关键词
const searchKeyword = ref('');
@@ -512,10 +508,8 @@ onMounted(() => {
- {{
- agent.application_name
- }}
- {{ $t('ai-platform.agent.mainApp') }}
+ {{ agent.model_name || '未配置模型' }} ·
+ {{ agent.conversation_count || 0 }} 次对话
{{ agent.sys_create_datetime }}
@@ -616,12 +610,6 @@ onMounted(() => {
type="textarea"
/>
-
-
-
diff --git a/web/apps/web-ele/src/views/ai-platform/knowledge/index.vue b/web/apps/web-ele/src/views/ai-platform/knowledge/index.vue
index d781a9e..84bf54d 100644
--- a/web/apps/web-ele/src/views/ai-platform/knowledge/index.vue
+++ b/web/apps/web-ele/src/views/ai-platform/knowledge/index.vue
@@ -35,7 +35,6 @@ import {
ElOption,
ElPagination,
ElSelect,
- ElSwitch,
ElTag,
ElTooltip,
} from 'element-plus';
@@ -55,8 +54,6 @@ defineOptions({ name: 'KnowledgeBase' });
const router = useRouter();
const appContextStore = useAppContextStore();
-const isMainApp = !appContextStore.currentApp?.id;
-
// 表单
const createForm = reactive({
name: '',
@@ -670,22 +667,6 @@ onMounted(() => {
-
-
-
- {{ $t('ai-platform.knowledge.globalVisible') }}
-
-
-
-
-
-
-