| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- {
- "version": 1,
- "caseName": "conversation-session-highspeed-queue-edit",
- "spec": "./test/e2e/conversation-session/entitlements/conversation-session-highspeed-queue-edit.test.ts",
- "fixtures": [
- {
- "id": "highspeed-queue-edit-running-turn",
- "description": "HS-E2E-06 首轮 Highspeed 可控慢流,保持 running 以便后续输入入队并在 Composer 冻结编辑。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "controlled-stream",
- "source": "synthetic",
- "syntheticReason": "queue 只在 running turn 期间存在;固定慢流窗口验证队列保存普通 Selection,编辑时不会把隐藏 Highspeed Provider 载入 Composer。"
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_HIGHSPEED_QUEUE_EDIT_SLOW"],
- "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
- },
- "response": {
- "statusCode": 200,
- "statusMessage": "OK",
- "headers": {
- "cache-control": "no-cache",
- "content-type": "text/event-stream; charset=utf-8"
- },
- "chunks": [
- {
- "offsetMs": 0,
- "text": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"id\":\"highspeed-queue-edit-running\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"GLM-5.3\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"usage\":{\"input_tokens\":80,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":0,\"service_tier\":\"standard\"}}}\n\n"
- },
- {
- "offsetMs": 0,
- "text": "event: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"}}\n\n"
- },
- {
- "offsetMs": 0,
- "text": "event: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"HIGHSPEED_QUEUE_EDIT_STREAMING \"}}\n\n"
- },
- {
- "offsetMs": 0,
- "text": "event: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0}\n\n"
- },
- {
- "offsetMs": 0,
- "text": "event: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null},\"usage\":{\"input_tokens\":80,\"output_tokens\":4,\"service_tier\":\"standard\"}}\n\n"
- },
- {
- "offsetMs": 0,
- "text": "event: message_stop\ndata: {\"type\":\"message_stop\"}\n\n"
- }
- ],
- "text": {
- "id": "highspeed-queue-edit-running",
- "inputTokens": 80,
- "outputTokens": 4,
- "text": "HIGHSPEED_QUEUE_EDIT_STREAMING"
- },
- "releaseAfterChunks": 3
- }
- }
- ]
- }
|