| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- {
- "version": 1,
- "caseName": "conversation-session-v4-model-switch",
- "spec": "./test/e2e/conversation-session/models/conversation-session-v4-model-switch.test.ts",
- "fixtures": [
- {
- "id": "v4-model-switch-title",
- "description": "E2E_V4_MODEL_SWITCH_SEED 首发的 case-local 标题生成响应。",
- "metadata": {
- "kind": "common",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "E2E_V4_MODEL_SWITCH_SEED 首发会触发默认 title sidecar;固定 case-local 标题响应,避免 default replay 回退 legacy provider-basic,并用该首发 marker 隔离跨 case 匹配。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["Generate a concise title", "E2E_V4_MODEL_SWITCH_SEED"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "v4-model-switch-title",
- "inputTokens": 64,
- "outputTokens": 8,
- "text": "{\"title\":\"V4 Model Switch E2E\"}"
- }
- }
- },
- {
- "id": "v4-model-switch-seed",
- "description": "M4 switchModelConfig 门禁:首轮固定回复,建立可切模型的 session。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "模型切换只需一个已存在 session;首轮文案固定。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_V4_MODEL_SWITCH_SEED"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "text": {
- "id": "v4-model-switch-seed",
- "inputTokens": 80,
- "outputTokens": 8,
- "text": "V4_MODEL_SWITCH_SEED_OK"
- }
- }
- }
- ]
- }
|