conversation-session-oversized-inline-image-attachment.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-oversized-inline-image-attachment",
  4. "spec": "./test/e2e/conversation-session/attachments/conversation-session-oversized-inline-image-attachment.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "oversized-local-path-image-main",
  8. "description": "T05 有 localPath 的 21MiB 图片发送链路固定回复,用于断言请求不携带 dataBase64。",
  9. "metadata": {
  10. "kind": "main",
  11. "timingPolicy": "fast-text",
  12. "source": "synthetic",
  13. "syntheticReason": "核心断言在 provider-visible 请求的附件形态;响应只需稳定完成并包含约定文本。"
  14. },
  15. "maxMatches": 1,
  16. "match": {
  17. "method": "POST",
  18. "pathIncludes": "/messages",
  19. "lastUserMessageIncludes": ["E2E_OVERSIZED_LOCAL_PATH_IMAGE"],
  20. "bodyIncludes": ["E2E_OVERSIZED_LOCAL_PATH_IMAGE", "upstream-e2e-ok"],
  21. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  22. },
  23. "response": {
  24. "statusCode": 200,
  25. "statusMessage": "OK",
  26. "text": {
  27. "id": "upstream-e2e-oversized-local-path-image-main",
  28. "inputTokens": 128,
  29. "outputTokens": 12,
  30. "text": "upstream-e2e-ok"
  31. }
  32. }
  33. }
  34. ]
  35. }