feat: 收口审核指挥台旧入口到 Agent 原型页

This commit is contained in:
2026-06-04 04:26:15 +08:00
parent 961615b88c
commit b30ba19dcc
3 changed files with 16 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ def get_platform_demo_context():
{"title": "知识库配置", "url_name": "platform_ui:knowledge-base", "desc": "维护法规规则树与切片策略"},
{"title": "文件中心", "url_name": "documents:list", "desc": "查看上传、解析、切片与异常状态"},
{"title": "审核智能体", "url_name": "chat:index", "desc": "发起审核、抽取与一致性核查演示"},
{"title": "审核指挥台", "url_name": "platform_ui:command-center", "desc": "面向演示的 Agent 流程解释大屏"},
{"title": "审核指挥台", "url_name": "platform_ui:command-center-v2", "desc": "面向演示的 Agent 流程解释大屏"},
]
knowledge_sources = [
{

View File

@@ -1,4 +1,4 @@
from django.shortcuts import render
from django.shortcuts import redirect, render
from .services import build_knowledge_base_context, get_platform_demo_context
@@ -19,8 +19,7 @@ def skill_studio(request):
def command_center(request):
context = get_platform_demo_context()
return render(request, "platform_ui/command_center.html", context)
return redirect("platform_ui:command-center-v2")
def command_center_v2(request):