refactor(llm): 模型选择收敛——主菜单删旧'模型管理'入口(统一走'模型治理');security_check白名单加统一推理端点/pipeline-llm/api/v1/
This commit is contained in:
parent
9db01aa736
commit
4e3521dfd5
@ -60,7 +60,8 @@ WHITELIST_PREFIXES = (
|
|||||||
'/rbac/phone_login.dspy', '/rbac/user/logout.dspy',
|
'/rbac/phone_login.dspy', '/rbac/user/logout.dspy',
|
||||||
'/rbac/user/reset_password',
|
'/rbac/user/reset_password',
|
||||||
'/i18n', '/bricks/', '/assets/', '/imgs/', '/download/',
|
'/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/',
|
'/rag/imgs/', '/reallife_asset/imgs/', '/univer-office/',
|
||||||
# 定时任务入口:不走登录态,靠 client_ip=localhost 隔离(应用端口不对外开放 +
|
# 定时任务入口:不走登录态,靠 client_ip=localhost 隔离(应用端口不对外开放 +
|
||||||
|
|||||||
@ -181,12 +181,6 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
{% else %}
|
{% else %}
|
||||||
{
|
|
||||||
"name": "llm_manage",
|
|
||||||
"label": "模型管理",
|
|
||||||
"icon": "",
|
|
||||||
"script": "this.open_tab({name:'llm_manage',label:'模型管理',url:'/pipeline_core/llm',removable:true})"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "llm_governance",
|
"name": "llm_governance",
|
||||||
"label": "模型治理",
|
"label": "模型治理",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user