| 12345678910111213141516171819202122232425262728 |
- {
- "version": 1,
- "caseName": "conversation-session-model-provider-effective-selection",
- "spec": "./test/e2e/conversation-session/conversation-session-model-provider-effective-selection.test.ts",
- "fixtures": [
- {
- "id": "sr87-effective-selection-main",
- "description": "SR87 会话和后台定时任务的受控完成响应。",
- "metadata": {
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "只验证实际请求身份、档位及接纳写入边界;模型文本固定收口,不调用真实套餐。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": ["E2E_SR87_"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": { "content-type": "text/event-stream; charset=utf-8" },
- "body": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"id\":\"sr87-effective-selection-main\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"model\":\"glm-e2e\",\"stop_reason\":null,\"stop_sequence\":null,\"usage\":{\"input_tokens\":128,\"output_tokens\":0}}}\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"}}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"coding-plan-e2e-ok\"}}\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0}\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null},\"usage\":{\"output_tokens\":12}}\n\nevent: message_stop\ndata: {\"type\":\"message_stop\"}\n\n"
- }
- }
- ]
- }
|