conversation-session-r3-attachments.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-r3-attachments",
  4. "spec": "./test/e2e/conversation-session/remote/execution/conversation-session-r3-attachments.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "r3-attach-title",
  8. "description": "标题",
  9. "metadata": {
  10. "kind": "common",
  11. "timingPolicy": "fast-text",
  12. "source": "synthetic",
  13. "syntheticReason": "标题不属于断言"
  14. },
  15. "maxMatches": 8,
  16. "match": {
  17. "method": "POST",
  18. "pathIncludes": "/messages",
  19. "bodyIncludes": ["Generate a concise title", "E2E_R3_ATTACHMENTS"]
  20. },
  21. "response": {
  22. "statusCode": 200,
  23. "text": {
  24. "id": "r3-attach-title",
  25. "inputTokens": 64,
  26. "outputTokens": 8,
  27. "text": "{\"title\":\"R3 attachments\"}"
  28. }
  29. }
  30. },
  31. {
  32. "id": "r3-attach-main",
  33. "description": "其它",
  34. "metadata": {
  35. "kind": "main",
  36. "timingPolicy": "fast-text",
  37. "source": "synthetic",
  38. "syntheticReason": "首发/fork/edit"
  39. },
  40. "maxMatches": 10,
  41. "match": {
  42. "method": "POST",
  43. "pathIncludes": "/messages",
  44. "bodyIncludes": ["E2E_R3_ATTACHMENTS_"],
  45. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  46. },
  47. "response": {
  48. "statusCode": 200,
  49. "text": {
  50. "id": "r3-attach-main",
  51. "inputTokens": 64,
  52. "outputTokens": 8,
  53. "text": "R3_ATTACHMENTS_REPLY"
  54. }
  55. }
  56. }
  57. ]
  58. }