From 8b59efdf2c7fa1a31abe696613e82b50d34210c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?cls=5F=E5=AE=81=E6=B3=A2=E6=9C=AC=E6=9C=BA?=
<908705107@qq.com>
Date: Wed, 10 Jun 2026 07:55:01 +0800
Subject: [PATCH] Expose AI model configuration
---
backend-fastapi/db_init.json | 45 +++++++++++++++++++
web/apps/web-ele/src/router/access.ts | 1 +
.../src/views/ai-platform/model/index.vue | 13 ++++++
3 files changed, 59 insertions(+)
create mode 100644 web/apps/web-ele/src/views/ai-platform/model/index.vue
diff --git a/backend-fastapi/db_init.json b/backend-fastapi/db_init.json
index c5ef6b5..5abb92a 100644
--- a/backend-fastapi/db_init.json
+++ b/backend-fastapi/db_init.json
@@ -6713,6 +6713,51 @@
"sys_dept_id": "L5gXi5cW-WuTc6mCid1Sz"
}
},
+ {
+ "model": "core.menu.model.Menu",
+ "pk": "ai-agent-admin-ai-model-config",
+ "fields": {
+ "application_id": null,
+ "is_system": true,
+ "parent_id": "4CW_HY32ozaVOQpSz7njE",
+ "name": "AIModelConfig",
+ "title": "system-config.modelConfig",
+ "authCode": null,
+ "path": "/ai-platform/model",
+ "type": "menu",
+ "component": "/ai-platform/model/index",
+ "redirect": null,
+ "activePath": null,
+ "query": null,
+ "noBasicLayout": false,
+ "icon": "lucide:bot",
+ "activeIcon": null,
+ "order": 15,
+ "hideInMenu": false,
+ "hideChildrenInMenu": false,
+ "hideInBreadcrumb": false,
+ "hideInTab": false,
+ "affixTab": false,
+ "affixTabOrder": null,
+ "keepAlive": false,
+ "maxNumOfOpenTab": null,
+ "fullPathKey": true,
+ "link": null,
+ "iframeSrc": null,
+ "openInNewWindow": false,
+ "badge": null,
+ "badgeType": null,
+ "badgeVariants": null,
+ "id": "ai-agent-admin-ai-model-config",
+ "sort": 15,
+ "is_deleted": false,
+ "sys_create_datetime": "2026-06-10T00:00:00.000000",
+ "sys_update_datetime": "2026-06-10T00:00:00.000000",
+ "sys_creator_id": null,
+ "sys_modifier_id": null,
+ "sys_dept_id": null
+ }
+ },
{
"model": "core.menu.model.Menu",
"pk": "4CW_HY32ozaVOQpSz7njE",
diff --git a/web/apps/web-ele/src/router/access.ts b/web/apps/web-ele/src/router/access.ts
index a445672..d16df28 100644
--- a/web/apps/web-ele/src/router/access.ts
+++ b/web/apps/web-ele/src/router/access.ts
@@ -33,6 +33,7 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) {
'../views/ai-platform/agent/index.vue',
'../views/ai-platform/knowledge/detail/index.vue',
'../views/ai-platform/knowledge/index.vue',
+ '../views/ai-platform/model/index.vue',
'../views/ai-platform/workflow/editor/index.vue',
'../views/ai-platform/workflow/index.vue',
'../views/ai-platform/workflow-runs/index.vue',
diff --git a/web/apps/web-ele/src/views/ai-platform/model/index.vue b/web/apps/web-ele/src/views/ai-platform/model/index.vue
new file mode 100644
index 0000000..8640946
--- /dev/null
+++ b/web/apps/web-ele/src/views/ai-platform/model/index.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+