| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- {
- "version": 1,
- "caseName": "conversation-session-v4-sidebar",
- "spec": "./test/e2e/conversation-session/conversation-session-v4-sidebar.test.ts",
- "fixtures": [
- {
- "id": "v4-sidebar-title",
- "description": "E2E_V4_SIDEBAR_SEED 首发的 case-local 标题生成响应。",
- "metadata": {
- "kind": "common",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "E2E_V4_SIDEBAR_SEED 首发会触发默认 title sidecar;固定 case-local 标题响应,避免 default replay 回退 legacy provider-basic,并用该首发 marker 隔离跨 case 匹配。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": [
- "Generate a concise title",
- "E2E_V4_SIDEBAR_SEED"
- ]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "v4-sidebar-title",
- "inputTokens": 64,
- "outputTokens": 8,
- "text": "{\"title\":\"V4 Sidebar E2E\"}"
- }
- }
- },
- {
- "id": "v4-sidebar-seed",
- "description": "M5 ② 侧栏数据源门禁:首轮固定回复建立会话,随后重命名/删除均为本地命令。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "验证侧栏列表数据源已换 sessions-index:建→现→改名→更新→删→消失。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_V4_SIDEBAR_SEED"],
- "bodyExcludes": [
- "Generate a concise title",
- "CRITICAL: Respond with TEXT ONLY"
- ]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "v4-sidebar-seed",
- "inputTokens": 80,
- "outputTokens": 8,
- "text": "V4_SIDEBAR_SEED_OK"
- }
- }
- }
- ]
- }
|