feat(v2): Web 界面(对话/协作过程/人工检验/指标)+ worker 优雅降级

This commit is contained in:
tzt
2026-08-30 21:26:16 +08:00
parent 0ec7a9d034
commit 5ba3cc778b
5 changed files with 202 additions and 10 deletions
+8
View File
@@ -71,6 +71,14 @@ def test_workspace_not_found(client):
assert resp.status_code == 404
def test_web_ui_served(client):
resp = client.get("/")
assert resp.status_code == 200
assert resp.headers["content-type"].startswith("text/html")
assert "端云协同" in resp.text
assert "发送" in resp.text
def test_review_flow(client):
q = ga.get_review()
rid = q.enqueue("req-x", "q", "ans", tags=["safety"], reason="test")