conversation-session-assistant-block-order.json 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-assistant-block-order",
  4. "spec": "./test/e2e/conversation-session/presentation/conversation-session-assistant-block-order.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-assistant-block-order.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "block-order-title",
  13. "description": "I76 标题生成固定响应。",
  14. "kind": "common",
  15. "source": "synthetic",
  16. "timingPolicy": "fast-text",
  17. "syntheticReason": "标题不是本 case 的产品语义;固定响应避免标题请求误命中主请求。"
  18. },
  19. {
  20. "id": "block-order-s1",
  21. "description": "I76 形态 S1(A P B Q 1)的模型响应。",
  22. "kind": "main",
  23. "source": "synthetic",
  24. "timingPolicy": "tool-use",
  25. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  26. },
  27. {
  28. "id": "block-order-s1-done",
  29. "description": "I76 形态 S1 的工具结果回传后的收尾回复。",
  30. "kind": "main",
  31. "source": "synthetic",
  32. "timingPolicy": "fast-text",
  33. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  34. },
  35. {
  36. "id": "block-order-s2",
  37. "description": "I76 形态 S2(A P 1 Q)的模型响应。",
  38. "kind": "main",
  39. "source": "synthetic",
  40. "timingPolicy": "tool-use",
  41. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  42. },
  43. {
  44. "id": "block-order-s2-done",
  45. "description": "I76 形态 S2 的工具结果回传后的收尾回复。",
  46. "kind": "main",
  47. "source": "synthetic",
  48. "timingPolicy": "fast-text",
  49. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  50. },
  51. {
  52. "id": "block-order-s3",
  53. "description": "I76 形态 S3(A 1 B 2)的模型响应。",
  54. "kind": "main",
  55. "source": "synthetic",
  56. "timingPolicy": "tool-use",
  57. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  58. },
  59. {
  60. "id": "block-order-s3-done",
  61. "description": "I76 形态 S3 的工具结果回传后的收尾回复。",
  62. "kind": "main",
  63. "source": "synthetic",
  64. "timingPolicy": "fast-text",
  65. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  66. },
  67. {
  68. "id": "block-order-s4",
  69. "description": "I76 形态 S4(A P 1 B 2)的模型响应。",
  70. "kind": "main",
  71. "source": "synthetic",
  72. "timingPolicy": "tool-use",
  73. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  74. },
  75. {
  76. "id": "block-order-s4-done",
  77. "description": "I76 形态 S4 的工具结果回传后的收尾回复。",
  78. "kind": "main",
  79. "source": "synthetic",
  80. "timingPolicy": "fast-text",
  81. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  82. },
  83. {
  84. "id": "block-order-s5",
  85. "description": "I76 形态 S5(P 1 A 2 B)的模型响应。",
  86. "kind": "main",
  87. "source": "synthetic",
  88. "timingPolicy": "tool-use",
  89. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  90. },
  91. {
  92. "id": "block-order-s5-done",
  93. "description": "I76 形态 S5 的工具结果回传后的收尾回复。",
  94. "kind": "main",
  95. "source": "synthetic",
  96. "timingPolicy": "fast-text",
  97. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  98. },
  99. {
  100. "id": "block-order-s6",
  101. "description": "I76 形态 S6(A W B P 1)的模型响应。",
  102. "kind": "main",
  103. "source": "synthetic",
  104. "timingPolicy": "tool-use",
  105. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  106. },
  107. {
  108. "id": "block-order-s6-done",
  109. "description": "I76 形态 S6 的工具结果回传后的收尾回复。",
  110. "kind": "main",
  111. "source": "synthetic",
  112. "timingPolicy": "fast-text",
  113. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  114. },
  115. {
  116. "id": "block-order-s7",
  117. "description": "I76 形态 S7(P A W B 1)的模型响应。",
  118. "kind": "main",
  119. "source": "synthetic",
  120. "timingPolicy": "tool-use",
  121. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  122. },
  123. {
  124. "id": "block-order-s7-done",
  125. "description": "I76 形态 S7 的工具结果回传后的收尾回复。",
  126. "kind": "main",
  127. "source": "synthetic",
  128. "timingPolicy": "fast-text",
  129. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  130. },
  131. {
  132. "id": "block-order-s8",
  133. "description": "I76 形态 S8(A P W 1)的模型响应。",
  134. "kind": "main",
  135. "source": "synthetic",
  136. "timingPolicy": "tool-use",
  137. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  138. },
  139. {
  140. "id": "block-order-s8-done",
  141. "description": "I76 形态 S8 的工具结果回传后的收尾回复。",
  142. "kind": "main",
  143. "source": "synthetic",
  144. "timingPolicy": "fast-text",
  145. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  146. },
  147. {
  148. "id": "block-order-s9",
  149. "description": "I76 形态 S9(A E B P 1)的模型响应。",
  150. "kind": "main",
  151. "source": "synthetic",
  152. "timingPolicy": "tool-use",
  153. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  154. },
  155. {
  156. "id": "block-order-s9-done",
  157. "description": "I76 形态 S9 的工具结果回传后的收尾回复。",
  158. "kind": "main",
  159. "source": "synthetic",
  160. "timingPolicy": "fast-text",
  161. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  162. },
  163. {
  164. "id": "block-order-s10",
  165. "description": "I76 形态 S10(A E P 1)的模型响应。",
  166. "kind": "main",
  167. "source": "synthetic",
  168. "timingPolicy": "tool-use",
  169. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  170. },
  171. {
  172. "id": "block-order-s10-done",
  173. "description": "I76 形态 S10 的工具结果回传后的收尾回复。",
  174. "kind": "main",
  175. "source": "synthetic",
  176. "timingPolicy": "fast-text",
  177. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  178. },
  179. {
  180. "id": "block-order-s11",
  181. "description": "I76 形态 S11(W A P 1)的模型响应。",
  182. "kind": "main",
  183. "source": "synthetic",
  184. "timingPolicy": "tool-use",
  185. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  186. },
  187. {
  188. "id": "block-order-s11-done",
  189. "description": "I76 形态 S11 的工具结果回传后的收尾回复。",
  190. "kind": "main",
  191. "source": "synthetic",
  192. "timingPolicy": "fast-text",
  193. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  194. },
  195. {
  196. "id": "block-order-s12",
  197. "description": "I76 形态 S12(A P B Q)的模型响应。",
  198. "kind": "main",
  199. "source": "synthetic",
  200. "timingPolicy": "fast-text",
  201. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  202. },
  203. {
  204. "id": "block-order-s13",
  205. "description": "I76 形态 S13(P A)的模型响应。",
  206. "kind": "main",
  207. "source": "synthetic",
  208. "timingPolicy": "fast-text",
  209. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  210. },
  211. {
  212. "id": "block-order-s14",
  213. "description": "I76 形态 S14(1 A)的模型响应。",
  214. "kind": "main",
  215. "source": "synthetic",
  216. "timingPolicy": "tool-use",
  217. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  218. },
  219. {
  220. "id": "block-order-s14-done",
  221. "description": "I76 形态 S14 的工具结果回传后的收尾回复。",
  222. "kind": "main",
  223. "source": "synthetic",
  224. "timingPolicy": "fast-text",
  225. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  226. },
  227. {
  228. "id": "block-order-s15",
  229. "description": "I76 形态 S15(1 P 2)的模型响应。",
  230. "kind": "main",
  231. "source": "synthetic",
  232. "timingPolicy": "tool-use",
  233. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  234. },
  235. {
  236. "id": "block-order-s15-done",
  237. "description": "I76 形态 S15 的工具结果回传后的收尾回复。",
  238. "kind": "main",
  239. "source": "synthetic",
  240. "timingPolicy": "fast-text",
  241. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  242. },
  243. {
  244. "id": "block-order-s16",
  245. "description": "I76 形态 S16(A W)的模型响应。",
  246. "kind": "main",
  247. "source": "synthetic",
  248. "timingPolicy": "fast-text",
  249. "syntheticReason": "固定一次只有思考和空白文字的回复;验证之后的请求不再带这条回复,冷恢复前后相同。"
  250. },
  251. {
  252. "id": "block-order-s17",
  253. "description": "I76 形态 S17(P 1 Q 2 R)的模型响应。",
  254. "kind": "main",
  255. "source": "synthetic",
  256. "timingPolicy": "tool-use",
  257. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  258. },
  259. {
  260. "id": "block-order-s17-done",
  261. "description": "I76 形态 S17 的工具结果回传后的收尾回复。",
  262. "kind": "main",
  263. "source": "synthetic",
  264. "timingPolicy": "fast-text",
  265. "syntheticReason": "固定一次响应里思考、文字、空白文字、空文字和 Read 的排列,比较请求里的块顺序、冷恢复前后的请求和界面行顺序。"
  266. },
  267. {
  268. "id": "block-order-s18",
  269. "description": "I76 形态 S18(A P 3 Q)的模型响应。",
  270. "kind": "main",
  271. "source": "synthetic",
  272. "timingPolicy": "tool-use",
  273. "syntheticReason": "固定一次含 Write 的响应;Write 在流结束后才执行和写库,比较界面行顺序、请求里的块顺序和冷恢复前后的请求。"
  274. },
  275. {
  276. "id": "block-order-s18-done",
  277. "description": "I76 形态 S18 的工具结果回传后的收尾回复。",
  278. "kind": "main",
  279. "source": "synthetic",
  280. "timingPolicy": "fast-text",
  281. "syntheticReason": "S18 的 Write 结果回传后的收尾回复;Write 在流结束后才执行和写库,比较界面行顺序、请求里的块顺序和冷恢复前后的请求。"
  282. },
  283. {
  284. "id": "block-order-s19",
  285. "description": "I76 形态 S19(A P B Q)的模型响应。",
  286. "kind": "main",
  287. "source": "synthetic",
  288. "timingPolicy": "fast-text",
  289. "syntheticReason": "固定一次思考与文字交错、因 max_tokens 停止的响应;比较续写请求和之后请求里的块顺序。"
  290. },
  291. {
  292. "id": "block-order-s20",
  293. "description": "I76 形态 S20(A P 9 B Q)的模型响应。",
  294. "kind": "main",
  295. "source": "synthetic",
  296. "timingPolicy": "fast-text",
  297. "syntheticReason": "固定一次含服务端工具的响应,回复被分成两轮;比较界面行顺序、请求里的块顺序和冷恢复前后的请求。"
  298. },
  299. {
  300. "id": "block-order-s19-continue",
  301. "description": "I76 形态 S19 输出上限后的自动续写回复。",
  302. "kind": "main",
  303. "source": "synthetic",
  304. "timingPolicy": "fast-text",
  305. "syntheticReason": "响应因 max_tokens 停止,触发自动续写;比较续写请求和之后请求里的块顺序。"
  306. },
  307. {
  308. "id": "block-order-follow-live",
  309. "description": "I76 冷恢复前的续发;请求必须带回全部思考签名。",
  310. "kind": "main",
  311. "source": "synthetic",
  312. "timingPolicy": "fast-text",
  313. "syntheticReason": "抓包会脱敏签名;在原始请求上匹配全部签名,证明签名字节随思考块原样带回。"
  314. },
  315. {
  316. "id": "block-order-follow-cold",
  317. "description": "I76 冷恢复后的续发;请求必须带回全部思考签名。",
  318. "kind": "main",
  319. "source": "synthetic",
  320. "timingPolicy": "fast-text",
  321. "syntheticReason": "抓包会脱敏签名;在原始请求上匹配全部签名,证明签名字节随思考块原样带回。"
  322. },
  323. {
  324. "id": "block-order-s16-follow-live",
  325. "description": "I76 只有思考和空白的回复之后冷恢复前的续发。",
  326. "kind": "main",
  327. "source": "synthetic",
  328. "timingPolicy": "fast-text",
  329. "syntheticReason": "只有思考和空白的回复不进入请求;比较 live 与冷恢复发出的请求。"
  330. },
  331. {
  332. "id": "block-order-s16-follow-cold",
  333. "description": "I76 只有思考和空白的回复之后冷恢复后的续发。",
  334. "kind": "main",
  335. "source": "synthetic",
  336. "timingPolicy": "fast-text",
  337. "syntheticReason": "只有思考和空白的回复不进入请求;比较 live 与冷恢复发出的请求。"
  338. },
  339. {
  340. "id": "block-order-stop",
  341. "description": "I76 停止:思考A、文字P、思考B、文字Q 全部完成后暂停,等待用户停止。",
  342. "kind": "main",
  343. "source": "synthetic",
  344. "timingPolicy": "controlled-stream",
  345. "syntheticReason": "固定交错的签名思考和两段文字;受控流在完成全部块后暂停,由测试点击停止,比较停止后 live 与冷恢复的行和请求。"
  346. },
  347. {
  348. "id": "block-order-fb",
  349. "description": "I76 反馈:一条没有工具的回复,思考A、文字P、思考B、文字Q。",
  350. "kind": "main",
  351. "source": "synthetic",
  352. "timingPolicy": "fast-text",
  353. "syntheticReason": "一条消息有两行文字,验证反馈落在最后一行并在冷恢复后保留,并验证搜索能找到第一段文字。"
  354. },
  355. {
  356. "id": "block-order-sf-follow-live",
  357. "description": "I76 停止与反馈会话冷恢复前的续发;请求必须带回全部思考签名。",
  358. "kind": "main",
  359. "source": "synthetic",
  360. "timingPolicy": "fast-text",
  361. "syntheticReason": "抓包会脱敏签名;在原始请求上匹配全部签名,证明签名字节随思考块原样带回。"
  362. },
  363. {
  364. "id": "block-order-sf-follow-cold",
  365. "description": "I76 停止与反馈会话冷恢复后的续发;请求必须带回全部思考签名。",
  366. "kind": "main",
  367. "source": "synthetic",
  368. "timingPolicy": "fast-text",
  369. "syntheticReason": "抓包会脱敏签名;在原始请求上匹配全部签名,证明签名字节随思考块原样带回。"
  370. },
  371. {
  372. "id": "block-order-oa-title",
  373. "description": "I76 openai-compatible 会话的标题生成固定响应。",
  374. "kind": "common",
  375. "source": "synthetic",
  376. "timingPolicy": "fast-text",
  377. "syntheticReason": "标题不是本 case 的产品语义;固定响应避免标题请求误命中主请求。"
  378. },
  379. {
  380. "id": "block-order-oa",
  381. "description": "I76 openai-compatible:文字P、Read、文字Q,文字在工具调用后继续。",
  382. "kind": "main",
  383. "source": "synthetic",
  384. "timingPolicy": "tool-use",
  385. "syntheticReason": "chat-completions 流在 tool_calls 之后继续输出 content,文字块 id 不变;验证 live 和冷恢复都分成两行,请求一致。"
  386. },
  387. {
  388. "id": "block-order-oa-done",
  389. "description": "I76 openai-compatible Read 结果回传后的收尾回复。",
  390. "kind": "main",
  391. "source": "synthetic",
  392. "timingPolicy": "fast-text",
  393. "syntheticReason": "chat-completions 流在 tool_calls 之后继续输出 content,文字块 id 不变;验证 live 和冷恢复都分成两行,请求一致。"
  394. },
  395. {
  396. "id": "block-order-oa-follow-live",
  397. "description": "I76 openai-compatible 会话冷恢复前的续发。",
  398. "kind": "main",
  399. "source": "synthetic",
  400. "timingPolicy": "fast-text",
  401. "syntheticReason": "chat-completions 流在 tool_calls 之后继续输出 content,文字块 id 不变;验证 live 和冷恢复都分成两行,请求一致。"
  402. },
  403. {
  404. "id": "block-order-oa-follow-cold",
  405. "description": "I76 openai-compatible 会话冷恢复后的续发。",
  406. "kind": "main",
  407. "source": "synthetic",
  408. "timingPolicy": "fast-text",
  409. "syntheticReason": "chat-completions 流在 tool_calls 之后继续输出 content,文字块 id 不变;验证 live 和冷恢复都分成两行,请求一致。"
  410. },
  411. {
  412. "id": "block-order-leg",
  413. "description": "I76 旧消息会话:思考A、文字P、思考B、文字Q、Read。",
  414. "kind": "main",
  415. "source": "synthetic",
  416. "timingPolicy": "tool-use",
  417. "syntheticReason": "应用退出期间把已完成的消息改写成改动前的存储格式;验证旧消息按旧布局发送,追加新消息后请求只在末尾追加。"
  418. },
  419. {
  420. "id": "block-order-leg-done",
  421. "description": "I76 旧消息会话 Read 结果回传后的收尾回复。",
  422. "kind": "main",
  423. "source": "synthetic",
  424. "timingPolicy": "fast-text",
  425. "syntheticReason": "应用退出期间把已完成的消息改写成改动前的存储格式;验证旧消息按旧布局发送,追加新消息后请求只在末尾追加。"
  426. },
  427. {
  428. "id": "block-order-leg-follow-old",
  429. "description": "I76 改写成旧格式并重启后的续发;请求带回旧消息的思考签名。",
  430. "kind": "main",
  431. "source": "synthetic",
  432. "timingPolicy": "fast-text",
  433. "syntheticReason": "应用退出期间把已完成的消息改写成改动前的存储格式;验证旧消息按旧布局发送,追加新消息后请求只在末尾追加。"
  434. },
  435. {
  436. "id": "block-order-legnew",
  437. "description": "I76 旧消息之后追加的新消息:思考A、文字P、思考B、文字Q。",
  438. "kind": "main",
  439. "source": "synthetic",
  440. "timingPolicy": "fast-text",
  441. "syntheticReason": "应用退出期间把已完成的消息改写成改动前的存储格式;验证旧消息按旧布局发送,追加新消息后请求只在末尾追加。"
  442. },
  443. {
  444. "id": "block-order-leg-follow-live",
  445. "description": "I76 旧消息与新消息混合会话冷恢复前的续发。",
  446. "kind": "main",
  447. "source": "synthetic",
  448. "timingPolicy": "fast-text",
  449. "syntheticReason": "应用退出期间把已完成的消息改写成改动前的存储格式;验证旧消息按旧布局发送,追加新消息后请求只在末尾追加。"
  450. },
  451. {
  452. "id": "block-order-leg-follow-cold",
  453. "description": "I76 旧消息与新消息混合会话冷恢复后的续发。",
  454. "kind": "main",
  455. "source": "synthetic",
  456. "timingPolicy": "fast-text",
  457. "syntheticReason": "应用退出期间把已完成的消息改写成改动前的存储格式;验证旧消息按旧布局发送,追加新消息后请求只在末尾追加。"
  458. }
  459. ]
  460. }