conversation-session-empty-completion-retry.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-empty-completion-retry",
  4. "spec": "./test/e2e/conversation-session/conversation-session-empty-completion-retry.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-empty-completion-retry.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "empty-completion-retry-title",
  13. "description": "空 completion retry case 的标题 sidecar 固定响应。",
  14. "kind": "common",
  15. "source": "synthetic",
  16. "timingPolicy": "fast-text",
  17. "syntheticReason": "标题不是空 completion retry 的产品语义;固定响应避免 title sidecar 依赖共享 legacy fixture。"
  18. },
  19. {
  20. "id": "empty-completion-retry-stream-first-empty",
  21. "description": "首个主请求正常 EOF 收口,但 finish=other 且 text/reasoning/tool/usage 全为空。",
  22. "kind": "main",
  23. "source": "synthetic",
  24. "timingPolicy": "fast-text",
  25. "syntheticReason": "稳定制造 provider 正常 EOF + finish=other 的零输出 completion,验证 adapter 隐藏首个 attempt 并只重试一次。"
  26. },
  27. {
  28. "id": "empty-completion-retry-stream-second-success",
  29. "description": "第二个主请求返回正常文本,作为唯一一次 retry 的成功结果。",
  30. "kind": "main",
  31. "source": "synthetic",
  32. "timingPolicy": "fast-text",
  33. "syntheticReason": "固定 retry 后的成功文本,证明首个空 attempt 没有泄漏到 UI 且逻辑 turn 正常收口。"
  34. }
  35. ]
  36. }