conversation-session-r3-task-faults.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-r3-task-faults",
  4. "spec": "./test/e2e/conversation-session/remote/execution/conversation-session-r3-task-faults.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-r3-task-faults.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "r3-faults-title",
  13. "description": "标题",
  14. "kind": "common",
  15. "timingPolicy": "fast-text",
  16. "source": "synthetic",
  17. "syntheticReason": "标题不属于断言"
  18. },
  19. {
  20. "id": "r3-faults-http-429-once",
  21. "description": "真实HTTP 429限流响应",
  22. "kind": "main",
  23. "timingPolicy": "fault-stream",
  24. "source": "synthetic",
  25. "syntheticReason": "固定一次限流,随后恢复;核对HTTP状态与请求次数,支持当前重试策略。"
  26. },
  27. {
  28. "id": "r3-faults-http-429-recover",
  29. "description": "限流后的自动或显式重试恢复",
  30. "kind": "main",
  31. "timingPolicy": "fast-text",
  32. "source": "synthetic",
  33. "syntheticReason": "与单次429组成明确的[429,200]恢复序列。"
  34. },
  35. {
  36. "id": "r3-faults-auth-once",
  37. "description": "首次请求 401 鉴权错误(不可重试),只消费一次",
  38. "kind": "main",
  39. "timingPolicy": "fast-text",
  40. "source": "synthetic",
  41. "syntheticReason": "远端模型错误必须以明确错误呈现且保留输入"
  42. },
  43. {
  44. "id": "r3-faults-rate-limit-recover",
  45. "description": "重试后正常回复",
  46. "kind": "main",
  47. "timingPolicy": "fast-text",
  48. "source": "synthetic",
  49. "syntheticReason": "重试恢复"
  50. },
  51. {
  52. "id": "r3-faults-truncated-once",
  53. "description": "流中途断开(无 message_stop)",
  54. "kind": "main",
  55. "timingPolicy": "fault-stream",
  56. "source": "synthetic",
  57. "syntheticReason": "truncated stream 不能假 completed 或永久 running"
  58. },
  59. {
  60. "id": "r3-faults-truncated-recover",
  61. "description": "重试后正常回复",
  62. "kind": "main",
  63. "timingPolicy": "fast-text",
  64. "source": "synthetic",
  65. "syntheticReason": "重试恢复"
  66. },
  67. {
  68. "id": "r3-faults-main",
  69. "description": "其它",
  70. "kind": "main",
  71. "timingPolicy": "fast-text",
  72. "source": "synthetic",
  73. "syntheticReason": "首发"
  74. }
  75. ]
  76. }