| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- {
- "version": 1,
- "caseName": "conversation-session-v4-input-control",
- "spec": "./test/e2e/conversation-session/composer/conversation-session-v4-input-control.test.ts",
- "fixtures": [
- {
- "id": "v4-input-control-title",
- "description": "E2E_V4_INPUT_CONTROL_SEED 首发的 case-local 标题生成响应。",
- "metadata": {
- "kind": "common",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "E2E_V4_INPUT_CONTROL_SEED 首发会触发默认 title sidecar;固定 case-local 标题响应,避免 default replay 回退 legacy provider-basic,并用该首发 marker 隔离跨 case 匹配。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["Generate a concise title", "E2E_V4_INPUT_CONTROL_SEED"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "v4-input-control-title",
- "inputTokens": 64,
- "outputTokens": 8,
- "text": "{\"title\":\"V4 Input Control E2E\"}"
- }
- }
- },
- {
- "id": "v4-input-control-seed",
- "description": "M4 setAutoDrain/setFollowupMode 门禁:首轮固定回复,建立可绑定 pane 的 session。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "输入控制开关只需一个已存在 session 即可渲染;首轮文案固定。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_V4_INPUT_CONTROL_SEED"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "v4-input-control-seed",
- "inputTokens": 80,
- "outputTokens": 8,
- "text": "V4_INPUT_CONTROL_SEED_OK"
- }
- }
- }
- ]
- }
|