feat(menu): 平台内部助手菜单项(仅管理员可见)
入口→/pipeline_core/agent_platform, is_admin门控(owner.superuser/admin)
This commit is contained in:
parent
de9cd112b5
commit
1ab0ade8b4
@ -199,6 +199,14 @@
|
||||
"icon": "",
|
||||
"script": "this.open_tab({name:'generic_agent',label:'通用助手',url:'/pipeline_core/agent_generic',removable:true})"
|
||||
},
|
||||
{% if is_admin %}
|
||||
{
|
||||
"name": "platform_agent",
|
||||
"label": "平台内部助手",
|
||||
"icon": "",
|
||||
"script": "this.open_tab({name:'platform_agent',label:'平台内部助手',url:'/pipeline_core/agent_platform',removable:true})"
|
||||
},
|
||||
{% endif %}
|
||||
{
|
||||
"name": "skill_manage",
|
||||
"label": "技能管理",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user