conversation-session-selection-streaming.json 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-selection-streaming",
  4. "spec": "./test/e2e/conversation-session/presentation/conversation-session-selection-streaming.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "title-e2e_scs_",
  8. "description": "标题生成固定响应。",
  9. "match": {
  10. "method": "POST",
  11. "pathIncludes": "/messages",
  12. "bodyIncludes": ["Generate a concise title", "E2E_SCS_"]
  13. },
  14. "response": {
  15. "statusCode": 200,
  16. "statusMessage": "OK",
  17. "text": {
  18. "id": "scs-title",
  19. "model": "deepseek-v4-flash",
  20. "inputTokens": 64,
  21. "outputTokens": 8,
  22. "text": "{\"title\":\"Selection Streaming\"}"
  23. }
  24. },
  25. "metadata": {
  26. "kind": "common",
  27. "source": "synthetic",
  28. "timingPolicy": "fast-text",
  29. "syntheticReason": "固定上游回复并控制流式节奏,稳定复现“回答输出过程中框选已完成正文”的窗口;真实 Agent、工具执行、时间线渲染与选区逻辑不被替换。"
  30. }
  31. },
  32. {
  33. "id": "scs-seed",
  34. "metadata": {
  35. "kind": "main",
  36. "source": "synthetic",
  37. "timingPolicy": "fast-text",
  38. "syntheticReason": "固定上游回复并控制流式节奏,稳定复现“回答输出过程中框选已完成正文”的窗口;真实 Agent、工具执行、时间线渲染与选区逻辑不被替换。"
  39. },
  40. "match": {
  41. "method": "POST",
  42. "pathIncludes": "/messages",
  43. "lastUserMessageIncludes": ["E2E_SCS_SEED"],
  44. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  45. },
  46. "response": {
  47. "statusCode": 200,
  48. "text": "上一轮已经完成的回答,标记 E2E_SCS_HISTORY_PARA 在这里。\n\n代码块前的一行,从 E2E_SCS_CROSS_START 开始选:\n\n中间这一段会被整段选中。\n\n```text\nDesktop (Mac) --SSH--> playground 上的 app-server --> 这一行故意写得很长用来触发代码块横向滚动 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789\nconst value = `A\n\n\nB`;\n```\n\n代码块后的一行,选到 E2E_SCS_CROSS_END 为止,后面还有一些文字。\n\nE2E_SCS_MIX_START 这一段有**加粗文字**和行内代码 `inline_code_one`,原因有三个:\n\n1. **第一条加粗。** 宿主的 `user_oauth_token` 已经保存了一份,再存一份两边就对不上。\n2. **第二条加粗。** 这一条故意写得很长用来换行:刷新是读出、刷新、写回三步,同一个用户同时开两个对话就是两个进程同时刷新,如果服务端每次刷新都换一个新的 `refresh_token`,其中一方手里的会立刻失效。\n3. 第三条里有 `HeaderSource`,到 E2E_SCS_MIX_END 结束。\n\nE2E_SCS_MATH_START 这一行有行内公式 $E = mc^2$ 和 $\\sum_{i=1}^{n} i = \\frac{n(n+1)}{2}$,下面是独立公式:\n\n$$\n\\int_0^1 x^2 \\, dx = \\frac{1}{3}\n$$\n\n公式后的一行,到 E2E_SCS_MATH_END 结束。\n"
  49. }
  50. },
  51. {
  52. "id": "scs-live-step-1",
  53. "description": "本轮第 1 步:一段正文后读一次文件。",
  54. "metadata": {
  55. "kind": "main",
  56. "source": "synthetic",
  57. "timingPolicy": "controlled-stream",
  58. "syntheticReason": "固定上游回复并控制流式节奏,稳定复现“回答输出过程中框选已完成正文”的窗口;真实 Agent、工具执行、时间线渲染与选区逻辑不被替换。"
  59. },
  60. "match": {
  61. "method": "POST",
  62. "pathIncludes": "/messages",
  63. "bodyIncludes": ["E2E_SCS_STREAM"],
  64. "bodyExcludes": [
  65. "Generate a concise title",
  66. "CRITICAL: Respond with TEXT ONLY",
  67. "toolu_scs_read_1"
  68. ]
  69. },
  70. "response": {
  71. "statusCode": 200,
  72. "statusMessage": "OK",
  73. "headers": {
  74. "cache-control": "no-cache",
  75. "content-type": "text/event-stream; charset=utf-8"
  76. },
  77. "chunks": [
  78. {
  79. "offsetMs": 0,
  80. "text": "event: message_start\ndata: {\"type\": \"message_start\", \"message\": {\"id\": \"scs-live-step-1\", \"type\": \"message\", \"role\": \"assistant\", \"model\": \"deepseek-v4-flash\", \"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"
  81. },
  82. {
  83. "offsetMs": 50,
  84. "text": "event: content_block_start\ndata: {\"type\": \"content_block_start\", \"index\": 0, \"content_block\": {\"type\": \"text\", \"text\": \"\"}}\n\n"
  85. },
  86. {
  87. "offsetMs": 100,
  88. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"本轮先完成的一段正文,标记 E2E_SCS_LIVE_PARA 在这里,后面还有一些文字。\"}}\n\n"
  89. },
  90. {
  91. "offsetMs": 150,
  92. "text": "event: content_block_stop\ndata: {\"type\": \"content_block_stop\", \"index\": 0}\n\n"
  93. },
  94. {
  95. "offsetMs": 200,
  96. "text": "event: content_block_start\ndata: {\"type\": \"content_block_start\", \"index\": 1, \"content_block\": {\"type\": \"tool_use\", \"id\": \"toolu_scs_read_1\", \"name\": \"Read\", \"input\": {}}}\n\n"
  97. },
  98. {
  99. "offsetMs": 250,
  100. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 1, \"delta\": {\"type\": \"input_json_delta\", \"partial_json\": \"{\\\"file_path\\\": \\\"{{e2eRuntimeRoot}}/shared/readonly-tool.txt\\\"}\"}}\n\n"
  101. },
  102. {
  103. "offsetMs": 300,
  104. "text": "event: content_block_stop\ndata: {\"type\": \"content_block_stop\", \"index\": 1}\n\n"
  105. },
  106. {
  107. "offsetMs": 350,
  108. "text": "event: message_delta\ndata: {\"type\": \"message_delta\", \"delta\": {\"stop_reason\": \"tool_use\", \"stop_sequence\": null}, \"usage\": {\"input_tokens\": 80, \"output_tokens\": 64}}\n\n"
  109. },
  110. {
  111. "offsetMs": 400,
  112. "text": "event: message_stop\ndata: {\"type\": \"message_stop\"}\n\n"
  113. }
  114. ]
  115. }
  116. },
  117. {
  118. "id": "scs-live-step-2",
  119. "description": "本轮第 2 步:隔约 1.2 秒再输出一段正文并读一次文件,让工具行状态变化。",
  120. "metadata": {
  121. "kind": "main",
  122. "source": "synthetic",
  123. "timingPolicy": "controlled-stream",
  124. "syntheticReason": "固定上游回复并控制流式节奏,稳定复现“回答输出过程中框选已完成正文”的窗口;真实 Agent、工具执行、时间线渲染与选区逻辑不被替换。"
  125. },
  126. "match": {
  127. "method": "POST",
  128. "pathIncludes": "/messages",
  129. "bodyIncludes": ["E2E_SCS_STREAM", "toolu_scs_read_1"],
  130. "bodyExcludes": [
  131. "Generate a concise title",
  132. "CRITICAL: Respond with TEXT ONLY",
  133. "toolu_scs_read_2"
  134. ]
  135. },
  136. "response": {
  137. "statusCode": 200,
  138. "statusMessage": "OK",
  139. "headers": {
  140. "cache-control": "no-cache",
  141. "content-type": "text/event-stream; charset=utf-8"
  142. },
  143. "chunks": [
  144. {
  145. "offsetMs": 1200,
  146. "text": "event: message_start\ndata: {\"type\": \"message_start\", \"message\": {\"id\": \"scs-live-step-2\", \"type\": \"message\", \"role\": \"assistant\", \"model\": \"deepseek-v4-flash\", \"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"
  147. },
  148. {
  149. "offsetMs": 1250,
  150. "text": "event: content_block_start\ndata: {\"type\": \"content_block_start\", \"index\": 0, \"content_block\": {\"type\": \"thinking\", \"thinking\": \"\", \"signature\": \"\"}}\n\n"
  151. },
  152. {
  153. "offsetMs": 1300,
  154. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"thinking_delta\", \"thinking\": \"思考片段 0,正在核对上一步的结果。\"}}\n\n"
  155. },
  156. {
  157. "offsetMs": 1450,
  158. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"thinking_delta\", \"thinking\": \"思考片段 1,正在核对上一步的结果。\"}}\n\n"
  159. },
  160. {
  161. "offsetMs": 1600,
  162. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"thinking_delta\", \"thinking\": \"思考片段 2,正在核对上一步的结果。\"}}\n\n"
  163. },
  164. {
  165. "offsetMs": 1750,
  166. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"thinking_delta\", \"thinking\": \"思考片段 3,正在核对上一步的结果。\"}}\n\n"
  167. },
  168. {
  169. "offsetMs": 1900,
  170. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"thinking_delta\", \"thinking\": \"思考片段 4,正在核对上一步的结果。\"}}\n\n"
  171. },
  172. {
  173. "offsetMs": 2050,
  174. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"thinking_delta\", \"thinking\": \"思考片段 5,正在核对上一步的结果。\"}}\n\n"
  175. },
  176. {
  177. "offsetMs": 2200,
  178. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"signature_delta\", \"signature\": \"c2lnbmF0dXJl\"}}\n\n"
  179. },
  180. {
  181. "offsetMs": 2220,
  182. "text": "event: content_block_stop\ndata: {\"type\": \"content_block_stop\", \"index\": 0}\n\n"
  183. },
  184. {
  185. "offsetMs": 2250,
  186. "text": "event: content_block_start\ndata: {\"type\": \"content_block_start\", \"index\": 1, \"content_block\": {\"type\": \"text\", \"text\": \"\"}}\n\n"
  187. },
  188. {
  189. "offsetMs": 2300,
  190. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 1, \"delta\": {\"type\": \"text_delta\", \"text\": \"第二段正文 E2E_SCS_SECOND_PARA,接着再读一次。\"}}\n\n"
  191. },
  192. {
  193. "offsetMs": 2350,
  194. "text": "event: content_block_stop\ndata: {\"type\": \"content_block_stop\", \"index\": 1}\n\n"
  195. },
  196. {
  197. "offsetMs": 2400,
  198. "text": "event: content_block_start\ndata: {\"type\": \"content_block_start\", \"index\": 2, \"content_block\": {\"type\": \"tool_use\", \"id\": \"toolu_scs_read_2\", \"name\": \"Read\", \"input\": {}}}\n\n"
  199. },
  200. {
  201. "offsetMs": 2450,
  202. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 2, \"delta\": {\"type\": \"input_json_delta\", \"partial_json\": \"{\\\"file_path\\\": \\\"{{e2eRuntimeRoot}}/shared/readonly-tool.txt\\\"}\"}}\n\n"
  203. },
  204. {
  205. "offsetMs": 2500,
  206. "text": "event: content_block_stop\ndata: {\"type\": \"content_block_stop\", \"index\": 2}\n\n"
  207. },
  208. {
  209. "offsetMs": 2550,
  210. "text": "event: message_delta\ndata: {\"type\": \"message_delta\", \"delta\": {\"stop_reason\": \"tool_use\", \"stop_sequence\": null}, \"usage\": {\"input_tokens\": 80, \"output_tokens\": 64}}\n\n"
  211. },
  212. {
  213. "offsetMs": 2600,
  214. "text": "event: message_stop\ndata: {\"type\": \"message_stop\"}\n\n"
  215. }
  216. ]
  217. }
  218. },
  219. {
  220. "id": "scs-live-step-3",
  221. "description": "本轮第 3 步:连续两次读文件,触发工具行自动分组。",
  222. "metadata": {
  223. "kind": "main",
  224. "source": "synthetic",
  225. "timingPolicy": "controlled-stream",
  226. "syntheticReason": "固定上游回复并控制流式节奏,稳定复现“回答输出过程中框选已完成正文”的窗口;真实 Agent、工具执行、时间线渲染与选区逻辑不被替换。"
  227. },
  228. "match": {
  229. "method": "POST",
  230. "pathIncludes": "/messages",
  231. "bodyIncludes": ["E2E_SCS_STREAM", "toolu_scs_read_2"],
  232. "bodyExcludes": [
  233. "Generate a concise title",
  234. "CRITICAL: Respond with TEXT ONLY",
  235. "toolu_scs_read_3"
  236. ]
  237. },
  238. "response": {
  239. "statusCode": 200,
  240. "statusMessage": "OK",
  241. "headers": {
  242. "cache-control": "no-cache",
  243. "content-type": "text/event-stream; charset=utf-8"
  244. },
  245. "chunks": [
  246. {
  247. "offsetMs": 1200,
  248. "text": "event: message_start\ndata: {\"type\": \"message_start\", \"message\": {\"id\": \"scs-live-step-3\", \"type\": \"message\", \"role\": \"assistant\", \"model\": \"deepseek-v4-flash\", \"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"
  249. },
  250. {
  251. "offsetMs": 1250,
  252. "text": "event: content_block_start\ndata: {\"type\": \"content_block_start\", \"index\": 0, \"content_block\": {\"type\": \"thinking\", \"thinking\": \"\", \"signature\": \"\"}}\n\n"
  253. },
  254. {
  255. "offsetMs": 1300,
  256. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"thinking_delta\", \"thinking\": \"思考片段 0,正在核对上一步的结果。\"}}\n\n"
  257. },
  258. {
  259. "offsetMs": 1450,
  260. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"thinking_delta\", \"thinking\": \"思考片段 1,正在核对上一步的结果。\"}}\n\n"
  261. },
  262. {
  263. "offsetMs": 1600,
  264. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"thinking_delta\", \"thinking\": \"思考片段 2,正在核对上一步的结果。\"}}\n\n"
  265. },
  266. {
  267. "offsetMs": 1750,
  268. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"thinking_delta\", \"thinking\": \"思考片段 3,正在核对上一步的结果。\"}}\n\n"
  269. },
  270. {
  271. "offsetMs": 1900,
  272. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"thinking_delta\", \"thinking\": \"思考片段 4,正在核对上一步的结果。\"}}\n\n"
  273. },
  274. {
  275. "offsetMs": 2050,
  276. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"thinking_delta\", \"thinking\": \"思考片段 5,正在核对上一步的结果。\"}}\n\n"
  277. },
  278. {
  279. "offsetMs": 2200,
  280. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"signature_delta\", \"signature\": \"c2lnbmF0dXJl\"}}\n\n"
  281. },
  282. {
  283. "offsetMs": 2220,
  284. "text": "event: content_block_stop\ndata: {\"type\": \"content_block_stop\", \"index\": 0}\n\n"
  285. },
  286. {
  287. "offsetMs": 2250,
  288. "text": "event: content_block_start\ndata: {\"type\": \"content_block_start\", \"index\": 1, \"content_block\": {\"type\": \"text\", \"text\": \"\"}}\n\n"
  289. },
  290. {
  291. "offsetMs": 2300,
  292. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 1, \"delta\": {\"type\": \"text_delta\", \"text\": \"第三段正文 E2E_SCS_THIRD_PARA,连续读两次。\"}}\n\n"
  293. },
  294. {
  295. "offsetMs": 2350,
  296. "text": "event: content_block_stop\ndata: {\"type\": \"content_block_stop\", \"index\": 1}\n\n"
  297. },
  298. {
  299. "offsetMs": 2400,
  300. "text": "event: content_block_start\ndata: {\"type\": \"content_block_start\", \"index\": 2, \"content_block\": {\"type\": \"tool_use\", \"id\": \"toolu_scs_read_3\", \"name\": \"Read\", \"input\": {}}}\n\n"
  301. },
  302. {
  303. "offsetMs": 2450,
  304. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 2, \"delta\": {\"type\": \"input_json_delta\", \"partial_json\": \"{\\\"file_path\\\": \\\"{{e2eRuntimeRoot}}/shared/readonly-tool.txt\\\"}\"}}\n\n"
  305. },
  306. {
  307. "offsetMs": 2500,
  308. "text": "event: content_block_stop\ndata: {\"type\": \"content_block_stop\", \"index\": 2}\n\n"
  309. },
  310. {
  311. "offsetMs": 2550,
  312. "text": "event: content_block_start\ndata: {\"type\": \"content_block_start\", \"index\": 3, \"content_block\": {\"type\": \"tool_use\", \"id\": \"toolu_scs_read_4\", \"name\": \"Read\", \"input\": {}}}\n\n"
  313. },
  314. {
  315. "offsetMs": 2600,
  316. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 3, \"delta\": {\"type\": \"input_json_delta\", \"partial_json\": \"{\\\"file_path\\\": \\\"{{e2eRuntimeRoot}}/shared/readonly-tool.txt\\\"}\"}}\n\n"
  317. },
  318. {
  319. "offsetMs": 2650,
  320. "text": "event: content_block_stop\ndata: {\"type\": \"content_block_stop\", \"index\": 3}\n\n"
  321. },
  322. {
  323. "offsetMs": 2700,
  324. "text": "event: message_delta\ndata: {\"type\": \"message_delta\", \"delta\": {\"stop_reason\": \"tool_use\", \"stop_sequence\": null}, \"usage\": {\"input_tokens\": 80, \"output_tokens\": 64}}\n\n"
  325. },
  326. {
  327. "offsetMs": 2750,
  328. "text": "event: message_stop\ndata: {\"type\": \"message_stop\"}\n\n"
  329. }
  330. ]
  331. }
  332. },
  333. {
  334. "id": "scs-live-final",
  335. "description": "本轮最后一步:慢速流式输出约 15 秒,形成稳定的输出窗口。",
  336. "metadata": {
  337. "kind": "main",
  338. "source": "synthetic",
  339. "timingPolicy": "controlled-stream",
  340. "syntheticReason": "固定上游回复并控制流式节奏,稳定复现“回答输出过程中框选已完成正文”的窗口;真实 Agent、工具执行、时间线渲染与选区逻辑不被替换。"
  341. },
  342. "match": {
  343. "method": "POST",
  344. "pathIncludes": "/messages",
  345. "bodyIncludes": ["E2E_SCS_STREAM", "toolu_scs_read_3"],
  346. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  347. },
  348. "response": {
  349. "statusCode": 200,
  350. "statusMessage": "OK",
  351. "headers": {
  352. "cache-control": "no-cache",
  353. "content-type": "text/event-stream; charset=utf-8"
  354. },
  355. "chunks": [
  356. {
  357. "offsetMs": 1200,
  358. "text": "event: message_start\ndata: {\"type\": \"message_start\", \"message\": {\"id\": \"scs-live-final\", \"type\": \"message\", \"role\": \"assistant\", \"model\": \"deepseek-v4-flash\", \"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"
  359. },
  360. {
  361. "offsetMs": 1250,
  362. "text": "event: content_block_start\ndata: {\"type\": \"content_block_start\", \"index\": 0, \"content_block\": {\"type\": \"text\", \"text\": \"\"}}\n\n"
  363. },
  364. {
  365. "offsetMs": 1500,
  366. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_01 流式输出的第 1 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  367. },
  368. {
  369. "offsetMs": 1750,
  370. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_02 流式输出的第 2 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  371. },
  372. {
  373. "offsetMs": 2000,
  374. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_03 流式输出的第 3 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  375. },
  376. {
  377. "offsetMs": 2250,
  378. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_04 流式输出的第 4 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  379. },
  380. {
  381. "offsetMs": 2500,
  382. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_05 流式输出的第 5 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  383. },
  384. {
  385. "offsetMs": 2750,
  386. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_06 流式输出的第 6 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  387. },
  388. {
  389. "offsetMs": 3000,
  390. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_07 流式输出的第 7 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  391. },
  392. {
  393. "offsetMs": 3250,
  394. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_08 流式输出的第 8 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  395. },
  396. {
  397. "offsetMs": 3500,
  398. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_09 流式输出的第 9 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  399. },
  400. {
  401. "offsetMs": 3750,
  402. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_10 流式输出的第 10 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  403. },
  404. {
  405. "offsetMs": 4000,
  406. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_11 流式输出的第 11 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  407. },
  408. {
  409. "offsetMs": 4250,
  410. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_12 流式输出的第 12 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  411. },
  412. {
  413. "offsetMs": 4500,
  414. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_13 流式输出的第 13 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  415. },
  416. {
  417. "offsetMs": 4750,
  418. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_14 流式输出的第 14 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  419. },
  420. {
  421. "offsetMs": 5000,
  422. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_15 流式输出的第 15 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  423. },
  424. {
  425. "offsetMs": 5250,
  426. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_16 流式输出的第 16 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  427. },
  428. {
  429. "offsetMs": 5500,
  430. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_17 流式输出的第 17 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  431. },
  432. {
  433. "offsetMs": 5750,
  434. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_18 流式输出的第 18 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  435. },
  436. {
  437. "offsetMs": 6000,
  438. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_19 流式输出的第 19 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  439. },
  440. {
  441. "offsetMs": 6250,
  442. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_20 流式输出的第 20 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  443. },
  444. {
  445. "offsetMs": 6500,
  446. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_21 流式输出的第 21 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  447. },
  448. {
  449. "offsetMs": 6750,
  450. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_22 流式输出的第 22 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  451. },
  452. {
  453. "offsetMs": 7000,
  454. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_23 流式输出的第 23 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  455. },
  456. {
  457. "offsetMs": 7250,
  458. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_24 流式输出的第 24 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  459. },
  460. {
  461. "offsetMs": 7500,
  462. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_25 流式输出的第 25 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  463. },
  464. {
  465. "offsetMs": 7750,
  466. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_26 流式输出的第 26 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  467. },
  468. {
  469. "offsetMs": 8000,
  470. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_27 流式输出的第 27 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  471. },
  472. {
  473. "offsetMs": 8250,
  474. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_28 流式输出的第 28 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  475. },
  476. {
  477. "offsetMs": 8500,
  478. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_29 流式输出的第 29 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  479. },
  480. {
  481. "offsetMs": 8750,
  482. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_30 流式输出的第 30 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  483. },
  484. {
  485. "offsetMs": 9000,
  486. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_31 流式输出的第 31 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  487. },
  488. {
  489. "offsetMs": 9250,
  490. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_32 流式输出的第 32 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  491. },
  492. {
  493. "offsetMs": 9500,
  494. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_33 流式输出的第 33 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  495. },
  496. {
  497. "offsetMs": 9750,
  498. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_34 流式输出的第 34 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  499. },
  500. {
  501. "offsetMs": 10000,
  502. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_35 流式输出的第 35 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  503. },
  504. {
  505. "offsetMs": 10250,
  506. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_36 流式输出的第 36 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  507. },
  508. {
  509. "offsetMs": 10500,
  510. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_37 流式输出的第 37 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  511. },
  512. {
  513. "offsetMs": 10750,
  514. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_38 流式输出的第 38 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  515. },
  516. {
  517. "offsetMs": 11000,
  518. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_39 流式输出的第 39 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  519. },
  520. {
  521. "offsetMs": 11250,
  522. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_40 流式输出的第 40 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  523. },
  524. {
  525. "offsetMs": 11500,
  526. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_41 流式输出的第 41 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  527. },
  528. {
  529. "offsetMs": 11750,
  530. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_42 流式输出的第 42 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  531. },
  532. {
  533. "offsetMs": 12000,
  534. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_43 流式输出的第 43 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  535. },
  536. {
  537. "offsetMs": 12250,
  538. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_44 流式输出的第 44 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  539. },
  540. {
  541. "offsetMs": 12500,
  542. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_45 流式输出的第 45 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  543. },
  544. {
  545. "offsetMs": 12750,
  546. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_46 流式输出的第 46 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  547. },
  548. {
  549. "offsetMs": 13000,
  550. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_47 流式输出的第 47 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  551. },
  552. {
  553. "offsetMs": 13250,
  554. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_48 流式输出的第 48 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  555. },
  556. {
  557. "offsetMs": 13500,
  558. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_49 流式输出的第 49 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  559. },
  560. {
  561. "offsetMs": 13750,
  562. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_50 流式输出的第 50 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  563. },
  564. {
  565. "offsetMs": 14000,
  566. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_51 流式输出的第 51 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  567. },
  568. {
  569. "offsetMs": 14250,
  570. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_52 流式输出的第 52 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  571. },
  572. {
  573. "offsetMs": 14500,
  574. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_53 流式输出的第 53 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  575. },
  576. {
  577. "offsetMs": 14750,
  578. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_54 流式输出的第 54 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  579. },
  580. {
  581. "offsetMs": 15000,
  582. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_55 流式输出的第 55 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  583. },
  584. {
  585. "offsetMs": 15250,
  586. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_56 流式输出的第 56 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  587. },
  588. {
  589. "offsetMs": 15500,
  590. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_57 流式输出的第 57 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  591. },
  592. {
  593. "offsetMs": 15750,
  594. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_58 流式输出的第 58 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  595. },
  596. {
  597. "offsetMs": 16000,
  598. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_59 流式输出的第 59 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  599. },
  600. {
  601. "offsetMs": 16250,
  602. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_LINE_60 流式输出的第 60 段文字,用来撑高内容并触发跟随滚动。\\n\\n\"}}\n\n"
  603. },
  604. {
  605. "offsetMs": 16500,
  606. "text": "event: content_block_delta\ndata: {\"type\": \"content_block_delta\", \"index\": 0, \"delta\": {\"type\": \"text_delta\", \"text\": \"E2E_SCS_STREAM_DONE\"}}\n\n"
  607. },
  608. {
  609. "offsetMs": 16550,
  610. "text": "event: content_block_stop\ndata: {\"type\": \"content_block_stop\", \"index\": 0}\n\n"
  611. },
  612. {
  613. "offsetMs": 16600,
  614. "text": "event: message_delta\ndata: {\"type\": \"message_delta\", \"delta\": {\"stop_reason\": \"end_turn\", \"stop_sequence\": null}, \"usage\": {\"input_tokens\": 80, \"output_tokens\": 64}}\n\n"
  615. },
  616. {
  617. "offsetMs": 16650,
  618. "text": "event: message_stop\ndata: {\"type\": \"message_stop\"}\n\n"
  619. }
  620. ]
  621. }
  622. }
  623. ]
  624. }