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

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-oversized-inline-image-attachment",
  4. "spec": "./test/e2e/conversation-session/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": [
  21. "E2E_OVERSIZED_LOCAL_PATH_IMAGE",
  22. "upstream-e2e-ok"
  23. ],
  24. "bodyExcludes": [
  25. "Generate a concise title",
  26. "CRITICAL: Respond with TEXT ONLY"
  27. ]
  28. },
  29. "response": {
  30. "statusCode": 200,
  31. "statusMessage": "OK",
  32. "text": {
  33. "id": "upstream-e2e-oversized-local-path-image-main",
  34. "inputTokens": 128,
  35. "outputTokens": 12,
  36. "text": "upstream-e2e-ok"
  37. }
  38. }
  39. }
  40. ]
  41. }