conversation-session-model-output-token-preflight.json 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-model-output-token-preflight",
  4. "spec": "./test/e2e/conversation-session/models/conversation-session-model-output-token-preflight.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "model-output-token-preflight-title",
  8. "description": "Preflight case 内的标题生成固定响应。",
  9. "metadata": {
  10. "kind": "common",
  11. "timingPolicy": "fast-text",
  12. "source": "synthetic",
  13. "syntheticReason": "标题生成不属于预算策略语义,只需避免干扰主请求和 Compact 匹配。"
  14. },
  15. "match": {
  16. "method": "POST",
  17. "pathIncludes": "/chat/completions",
  18. "bodyIncludes": ["Generate a concise title"]
  19. },
  20. "response": {
  21. "statusCode": 200,
  22. "statusMessage": "OK",
  23. "headers": { "content-type": "text/event-stream; charset=utf-8" },
  24. "body": "data: {\"id\":\"chatcmpl-otb-preflight-title\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb-preflight-title\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"{\\\"title\\\":\\\"Preflight Budget\\\"}\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb-preflight-title\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":32,\"completion_tokens\":8,\"total_tokens\":40}}\n\ndata: [DONE]\n\n"
  25. }
  26. },
  27. {
  28. "id": "otb08-history",
  29. "description": "OTB08 建立可压缩的第一轮历史。",
  30. "metadata": {
  31. "kind": "main",
  32. "timingPolicy": "fast-text",
  33. "source": "synthetic",
  34. "syntheticReason": "第一轮仅建立 Auto Compact 所需历史,并确认 preflight-v1 在低 usage 时仍发送 64K。"
  35. },
  36. "maxMatches": 1,
  37. "match": {
  38. "method": "POST",
  39. "pathIncludes": "/chat/completions",
  40. "lastUserMessageIncludes": ["E2E_OTB08_HISTORY"],
  41. "bodyIncludes": [
  42. "E2E_OTB08_HISTORY",
  43. "\"max_completion_tokens\":64000",
  44. "otb-preflight-64k"
  45. ],
  46. "bodyExcludes": ["Generate a concise title", "create a detailed summary"]
  47. },
  48. "response": {
  49. "statusCode": 200,
  50. "statusMessage": "OK",
  51. "headers": { "content-type": "text/event-stream; charset=utf-8" },
  52. "body": "data: {\"id\":\"chatcmpl-otb08-history\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb08-history\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"otb08-history-ready\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb08-history\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":192,\"completion_tokens\":8,\"total_tokens\":200}}\n\ndata: [DONE]\n\n"
  53. }
  54. },
  55. {
  56. "id": "otb08-seed",
  57. "description": "OTB08 返回 94K provider usage,驱动下一轮按 preflight-v1 threshold Auto Compact。",
  58. "metadata": {
  59. "kind": "main",
  60. "timingPolicy": "fast-text",
  61. "source": "synthetic",
  62. "syntheticReason": "受控 94K usage 用于证明 128K context、21K reserve、13K buffer 的 94K 阈值。"
  63. },
  64. "maxMatches": 1,
  65. "match": {
  66. "method": "POST",
  67. "pathIncludes": "/chat/completions",
  68. "lastUserMessageIncludes": ["E2E_OTB08_SEED"],
  69. "bodyIncludes": ["E2E_OTB08_SEED", "\"max_completion_tokens\":64000", "otb-preflight-64k"],
  70. "bodyExcludes": ["Generate a concise title", "create a detailed summary"]
  71. },
  72. "response": {
  73. "statusCode": 200,
  74. "statusMessage": "OK",
  75. "headers": { "content-type": "text/event-stream; charset=utf-8" },
  76. "body": "data: {\"id\":\"chatcmpl-otb08-seed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb08-seed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"otb08-seed-ready\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb08-seed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":94000,\"completion_tokens\":8,\"total_tokens\":94008}}\n\ndata: [DONE]\n\n"
  77. }
  78. },
  79. {
  80. "id": "otb08-auto-compact",
  81. "description": "OTB08 Auto Compact summary 使用 reserve 21K。",
  82. "metadata": {
  83. "kind": "main",
  84. "timingPolicy": "fast-text",
  85. "source": "synthetic",
  86. "syntheticReason": "成功 summary 请求体与 compact.auto.started 日志共同验证 preflight-v1 的 reserve 与 summary 预算。"
  87. },
  88. "maxMatches": 1,
  89. "match": {
  90. "method": "POST",
  91. "pathIncludes": "/chat/completions",
  92. "bodyIncludes": [
  93. "E2E_OTB08_SEED",
  94. "create a detailed summary",
  95. "\"max_completion_tokens\":21000",
  96. "otb-preflight-64k"
  97. ],
  98. "bodyExcludes": ["Generate a concise title"]
  99. },
  100. "response": {
  101. "statusCode": 200,
  102. "statusMessage": "OK",
  103. "headers": { "content-type": "text/event-stream; charset=utf-8" },
  104. "body": "data: {\"id\":\"chatcmpl-otb08-compact\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb08-compact\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"<summary>OTB08 retained the preflight strategy history.</summary>\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb08-compact\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":256,\"completion_tokens\":32,\"total_tokens\":288}}\n\ndata: [DONE]\n\n"
  105. }
  106. },
  107. {
  108. "id": "otb08-post-compact",
  109. "description": "OTB08 Compact 后主请求重新使用 canonical 64K baseline。",
  110. "metadata": {
  111. "kind": "main",
  112. "timingPolicy": "fast-text",
  113. "source": "synthetic",
  114. "syntheticReason": "验证 Compact 清空旧 usage 锚点,preflight cap 不持久化到后续 model step。"
  115. },
  116. "maxMatches": 1,
  117. "match": {
  118. "method": "POST",
  119. "pathIncludes": "/chat/completions",
  120. "lastUserMessageIncludes": ["E2E_OTB08_POST"],
  121. "bodyIncludes": ["E2E_OTB08_POST", "\"max_completion_tokens\":64000", "otb-preflight-64k"],
  122. "bodyExcludes": ["Generate a concise title", "create a detailed summary"]
  123. },
  124. "response": {
  125. "statusCode": 200,
  126. "statusMessage": "OK",
  127. "headers": { "content-type": "text/event-stream; charset=utf-8" },
  128. "body": "data: {\"id\":\"chatcmpl-otb08-post\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb08-post\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"otb08-post-compact-ok\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb08-post\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":320,\"completion_tokens\":8,\"total_tokens\":328}}\n\ndata: [DONE]\n\n"
  129. }
  130. },
  131. {
  132. "id": "otb09-seed",
  133. "description": "OTB09 建立 inputTokens=1 的 provider usage 锚点。",
  134. "metadata": {
  135. "kind": "main",
  136. "timingPolicy": "fast-text",
  137. "source": "synthetic",
  138. "syntheticReason": "固定 provider base 为 1;provider usage 已覆盖上一轮 assistant,结合共享 /3 estimator 与精确长度的下一轮消息稳定得到 estimatedCurrentUsage=85,329。"
  139. },
  140. "maxMatches": 1,
  141. "match": {
  142. "method": "POST",
  143. "pathIncludes": "/chat/completions",
  144. "lastUserMessageIncludes": ["E2E_OTB09_SEED"],
  145. "bodyIncludes": ["E2E_OTB09_SEED", "\"max_completion_tokens\":64000", "otb-preflight-64k"],
  146. "bodyExcludes": ["Generate a concise title", "create a detailed summary"]
  147. },
  148. "response": {
  149. "statusCode": 200,
  150. "statusMessage": "OK",
  151. "headers": { "content-type": "text/event-stream; charset=utf-8" },
  152. "body": "data: {\"id\":\"chatcmpl-otb09-seed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb09-seed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"otb09-seed-ready\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb09-seed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":1,\"completion_tokens\":0,\"total_tokens\":1}}\n\ndata: [DONE]\n\n"
  153. }
  154. },
  155. {
  156. "id": "otb09-exact-cap",
  157. "description": "OTB09 estimatedCurrentUsage=85,329 时发送 max_tokens=41,671。",
  158. "metadata": {
  159. "kind": "main",
  160. "timingPolicy": "fast-text",
  161. "source": "synthetic",
  162. "syntheticReason": "请求体是共享 /3 estimator 下 preflight 公式 128,000 - 85,329 - 1,000 = 41,671 的端到端证据。"
  163. },
  164. "maxMatches": 1,
  165. "match": {
  166. "method": "POST",
  167. "pathIncludes": "/chat/completions",
  168. "lastUserMessageIncludes": ["E2E_OTB09_CAP"],
  169. "bodyIncludes": ["E2E_OTB09_CAP", "\"max_completion_tokens\":41671", "otb-preflight-64k"],
  170. "bodyExcludes": ["Generate a concise title", "create a detailed summary"]
  171. },
  172. "response": {
  173. "statusCode": 200,
  174. "statusMessage": "OK",
  175. "headers": { "content-type": "text/event-stream; charset=utf-8" },
  176. "body": "data: {\"id\":\"chatcmpl-otb09-cap\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb09-cap\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"otb09-preflight-ok\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb09-cap\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":85329,\"completion_tokens\":8,\"total_tokens\":85337}}\n\ndata: [DONE]\n\n"
  177. }
  178. },
  179. {
  180. "id": "otb10-history",
  181. "description": "OTB10 建立 reactive compact 可总结的第一轮历史。",
  182. "metadata": {
  183. "kind": "main",
  184. "timingPolicy": "fast-text",
  185. "source": "synthetic",
  186. "syntheticReason": "第一轮只满足既有 reactive compact 的历史前置条件。"
  187. },
  188. "maxMatches": 1,
  189. "match": {
  190. "method": "POST",
  191. "pathIncludes": "/chat/completions",
  192. "lastUserMessageIncludes": ["E2E_OTB10_HISTORY"],
  193. "bodyIncludes": [
  194. "E2E_OTB10_HISTORY",
  195. "\"max_completion_tokens\":64000",
  196. "otb-preflight-64k"
  197. ],
  198. "bodyExcludes": ["Generate a concise title", "create a detailed summary"]
  199. },
  200. "response": {
  201. "statusCode": 200,
  202. "statusMessage": "OK",
  203. "headers": { "content-type": "text/event-stream; charset=utf-8" },
  204. "body": "data: {\"id\":\"chatcmpl-otb10-history\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb10-history\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"otb10-history-ready\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb10-history\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":192,\"completion_tokens\":8,\"total_tokens\":200}}\n\ndata: [DONE]\n\n"
  205. }
  206. },
  207. {
  208. "id": "otb10-seed",
  209. "description": "OTB10 建立 64K provider usage 锚点,使下一轮先执行 preflight cap。",
  210. "metadata": {
  211. "kind": "main",
  212. "timingPolicy": "fast-text",
  213. "source": "synthetic",
  214. "syntheticReason": "受控 usage 用于稳定证明错误发生前请求已被裁剪,而不是直接发送 64K baseline。"
  215. },
  216. "maxMatches": 1,
  217. "match": {
  218. "method": "POST",
  219. "pathIncludes": "/chat/completions",
  220. "lastUserMessageIncludes": ["E2E_OTB10_SEED"],
  221. "bodyIncludes": ["E2E_OTB10_SEED", "\"max_completion_tokens\":64000", "otb-preflight-64k"],
  222. "bodyExcludes": ["Generate a concise title", "create a detailed summary"]
  223. },
  224. "response": {
  225. "statusCode": 200,
  226. "statusMessage": "OK",
  227. "headers": { "content-type": "text/event-stream; charset=utf-8" },
  228. "body": "data: {\"id\":\"chatcmpl-otb10-seed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb10-seed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"otb10-seed-ready\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb10-seed\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":64000,\"completion_tokens\":8,\"total_tokens\":64008}}\n\ndata: [DONE]\n\n"
  229. }
  230. },
  231. {
  232. "id": "otb10-capped-context-error",
  233. "description": "OTB10 裁剪后的主请求仍由 provider 返回现有可识别的 context_length_exceeded。",
  234. "metadata": {
  235. "kind": "main",
  236. "timingPolicy": "immediate-error",
  237. "source": "synthetic",
  238. "syntheticReason": "故障只用于进入项目既有 reactive compact;本需求不新增或修改错误识别语料。"
  239. },
  240. "maxMatches": 1,
  241. "match": {
  242. "method": "POST",
  243. "pathIncludes": "/chat/completions",
  244. "lastUserMessageIncludes": ["E2E_OTB10_REACTIVE"],
  245. "bodyIncludes": ["E2E_OTB10_REACTIVE", "otb-preflight-64k"],
  246. "bodyExcludes": [
  247. "\"max_completion_tokens\":64000",
  248. "Generate a concise title",
  249. "create a detailed summary"
  250. ]
  251. },
  252. "response": {
  253. "statusCode": 400,
  254. "statusMessage": "Bad Request",
  255. "headers": { "content-type": "application/json; charset=utf-8" },
  256. "body": "{\"error\":{\"message\":\"This model's maximum context length is 128000 tokens. Please reduce the length of the messages.\",\"type\":\"invalid_request_error\",\"code\":\"context_length_exceeded\"}}"
  257. }
  258. },
  259. {
  260. "id": "otb10-reactive-compact",
  261. "description": "OTB10 既有 reactive compact summary 使用 reserve 21K。",
  262. "metadata": {
  263. "kind": "main",
  264. "timingPolicy": "fast-text",
  265. "source": "synthetic",
  266. "syntheticReason": "验证 capped failure 不产生 reduction retry,而是直接进入既有 reactive compact summary。"
  267. },
  268. "maxMatches": 1,
  269. "match": {
  270. "method": "POST",
  271. "pathIncludes": "/chat/completions",
  272. "bodyIncludes": [
  273. "E2E_OTB10_SEED",
  274. "create a detailed summary",
  275. "\"max_completion_tokens\":21000",
  276. "otb-preflight-64k"
  277. ],
  278. "bodyExcludes": ["Generate a concise title"]
  279. },
  280. "response": {
  281. "statusCode": 200,
  282. "statusMessage": "OK",
  283. "headers": { "content-type": "text/event-stream; charset=utf-8" },
  284. "body": "data: {\"id\":\"chatcmpl-otb10-compact\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb10-compact\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"<summary>OTB10 retained enough context to retry the original turn.</summary>\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb10-compact\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":256,\"completion_tokens\":32,\"total_tokens\":288}}\n\ndata: [DONE]\n\n"
  285. }
  286. },
  287. {
  288. "id": "otb10-post-reactive-compact",
  289. "description": "OTB10 reactive compact 后原请求恢复 64K baseline 并成功。",
  290. "metadata": {
  291. "kind": "main",
  292. "timingPolicy": "fast-text",
  293. "source": "synthetic",
  294. "syntheticReason": "成功请求证明裁剪值未持久化;与首个 error model-io 合计恰好两次 main 请求。"
  295. },
  296. "maxMatches": 1,
  297. "match": {
  298. "method": "POST",
  299. "pathIncludes": "/chat/completions",
  300. "lastUserMessageIncludes": ["E2E_OTB10_REACTIVE"],
  301. "bodyIncludes": [
  302. "E2E_OTB10_REACTIVE",
  303. "\"max_completion_tokens\":64000",
  304. "otb-preflight-64k"
  305. ],
  306. "bodyExcludes": ["Generate a concise title", "create a detailed summary"]
  307. },
  308. "response": {
  309. "statusCode": 200,
  310. "statusMessage": "OK",
  311. "headers": { "content-type": "text/event-stream; charset=utf-8" },
  312. "body": "data: {\"id\":\"chatcmpl-otb10-post\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb10-post\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"otb10-reactive-compact-ok\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-otb10-post\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"otb-preflight-64k\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":320,\"completion_tokens\":8,\"total_tokens\":328}}\n\ndata: [DONE]\n\n"
  313. }
  314. }
  315. ]
  316. }