fix(chat): remove workspace hero card

This commit is contained in:
2026-06-04 23:05:13 +08:00
parent f2c1e3cfa1
commit 1f5f0a968b
2 changed files with 2 additions and 31 deletions

View File

@@ -548,7 +548,6 @@ def test_chat_page_keeps_prompts_inside_chat_thread_without_top_cards(client, db
assert "顶部对话上下文" not in content
assert "推荐提问模板" not in content
assert "对话区与节点导航" in content
assert "处理中" in content
assert "请汇总当前资料包的章节点、页数和目录覆盖情况" in content
assert "请给出当前资料包的高风险项、责任人和整改建议" in content
@@ -577,9 +576,9 @@ def test_chat_page_explicitly_shows_batch_product_stage_and_export_context(clien
content = response.content.decode("utf-8")
assert response.status_code == 200
assert "Agent Workspace" not in content
assert f"批次:{batch.batch_id}" in content
assert f"产品:{batch.product_name}" in content
assert "阶段:处理中" in content
assert batch.product_name in content
assert "批次编号" not in content
assert "当前审核阶段" not in content
assert "最高风险等级" in content