conversation-session-r3-settings-scopes.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-r3-settings-scopes",
  4. "spec": "./test/e2e/conversation-session/remote/configuration/conversation-session-r3-settings-scopes.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "r3-settings-scopes-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_SETTINGS_SCOPES"]
  20. },
  21. "response": {
  22. "statusCode": 200,
  23. "headers": {
  24. "content-type": "application/json; charset=utf-8"
  25. },
  26. "body": "{\"id\":\"r3-settings-scopes-title\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"deepseek-v4-flash\",\"content\":[{\"type\":\"text\",\"text\":\"{\\\"title\\\":\\\"R3 settings scopes\\\"}\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":64,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":8,\"service_tier\":\"standard\"}}"
  27. }
  28. },
  29. {
  30. "id": "r3-settings-scopes-main",
  31. "description": "兜底 main 回合(本 case 计划内无模型消息,防未来扩展直连真实上游)",
  32. "metadata": {
  33. "kind": "main",
  34. "timingPolicy": "fast-text",
  35. "source": "synthetic",
  36. "syntheticReason": "settings-scope 断言不依赖模型输出"
  37. },
  38. "maxMatches": 8,
  39. "match": {
  40. "method": "POST",
  41. "pathIncludes": "/messages",
  42. "bodyIncludes": ["E2E_R3_SETTINGS_SCOPES"],
  43. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  44. },
  45. "response": {
  46. "statusCode": 200,
  47. "text": {
  48. "id": "r3-settings-scopes-main",
  49. "inputTokens": 64,
  50. "outputTokens": 8,
  51. "text": "R3_SETTINGS_SCOPES_REPLY"
  52. }
  53. }
  54. }
  55. ]
  56. }