feat: add governed customer service agent

This commit is contained in:
张胜宇
2026-09-10 19:51:08 +08:00
parent 511a8ca18f
commit e9b3d272f0
15 changed files with 765 additions and 3 deletions
@@ -0,0 +1,13 @@
from fastapi.testclient import TestClient
from app.main import create_app
def test_customer_service_test_page_exposes_visitor_agent_flow() -> None:
with TestClient(create_app()) as client:
response = client.get("/customer-service-test/")
assert response.status_code == 200
assert "奶龙基金智能助手" in response.text
assert "/api/v1/visitor-tokens" in response.text
assert "/api/v1/agent-runs" in response.text