Expose AI model configuration
This commit is contained in:
@@ -6713,6 +6713,51 @@
|
|||||||
"sys_dept_id": "L5gXi5cW-WuTc6mCid1Sz"
|
"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",
|
"model": "core.menu.model.Menu",
|
||||||
"pk": "4CW_HY32ozaVOQpSz7njE",
|
"pk": "4CW_HY32ozaVOQpSz7njE",
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) {
|
|||||||
'../views/ai-platform/agent/index.vue',
|
'../views/ai-platform/agent/index.vue',
|
||||||
'../views/ai-platform/knowledge/detail/index.vue',
|
'../views/ai-platform/knowledge/detail/index.vue',
|
||||||
'../views/ai-platform/knowledge/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/editor/index.vue',
|
||||||
'../views/ai-platform/workflow/index.vue',
|
'../views/ai-platform/workflow/index.vue',
|
||||||
'../views/ai-platform/workflow-runs/index.vue',
|
'../views/ai-platform/workflow-runs/index.vue',
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
import { Page } from '@vben/common-ui';
|
||||||
|
|
||||||
|
import ModelConfigForm from '#/views/_core/system-config/modules/model-config-form.vue';
|
||||||
|
|
||||||
|
defineOptions({ name: 'AIModelConfig' });
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<Page auto-content-height>
|
||||||
|
<ModelConfigForm />
|
||||||
|
</Page>
|
||||||
|
</template>
|
||||||
Reference in New Issue
Block a user