diff --git a/scripts/security_check.py b/scripts/security_check.py index 5f990bc..6e87aa8 100644 --- a/scripts/security_check.py +++ b/scripts/security_check.py @@ -60,7 +60,8 @@ WHITELIST_PREFIXES = ( '/rbac/phone_login.dspy', '/rbac/user/logout.dspy', '/rbac/user/reset_password', '/i18n', '/bricks/', '/assets/', '/imgs/', '/download/', - '/pipeline_core/api/llm_v1/', # token 鉴权的 LLM 代理 + '/pipeline_core/api/llm_v1/', # token 鉴权的 LLM 代理(兼容保留,委托统一推理引擎) + '/pipeline-llm/api/v1/', # token 鉴权的统一模型推理端点(模型治理模块) # 纯静态资源目录(图片/前端产物),匿名可读是设计如此 '/rag/imgs/', '/reallife_asset/imgs/', '/univer-office/', # 定时任务入口:不走登录态,靠 client_ip=localhost 隔离(应用端口不对外开放 + diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 4b3f3dd..77c7ded 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -181,12 +181,6 @@ ] } {% else %} - { - "name": "llm_manage", - "label": "模型管理", - "icon": "", - "script": "this.open_tab({name:'llm_manage',label:'模型管理',url:'/pipeline_core/llm',removable:true})" - }, { "name": "llm_governance", "label": "模型治理",