conversation-session-preinstalled-tools-empty-catalog.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-preinstalled-tools-empty-catalog",
  4. "spec": "./test/e2e/conversation-session/conversation-session-preinstalled-tools-empty-catalog.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "lop-empty-title",
  8. "metadata": {
  9. "kind": "common",
  10. "timingPolicy": "fast-text",
  11. "source": "synthetic",
  12. "syntheticReason": "固定聊天响应,只验证无发布资源时普通聊天仍可完成。"
  13. },
  14. "match": {
  15. "method": "POST",
  16. "pathIncludes": "/messages",
  17. "bodyIncludes": [
  18. "Generate a concise title",
  19. "E2E_LOP_EMPTY"
  20. ]
  21. },
  22. "response": {
  23. "statusCode": 200,
  24. "text": {
  25. "id": "lop-empty-title",
  26. "text": "{\"title\":\"Empty preinstall catalog\"}",
  27. "inputTokens": 100,
  28. "outputTokens": 10
  29. }
  30. }
  31. },
  32. {
  33. "id": "lop-empty-chat",
  34. "metadata": {
  35. "kind": "main",
  36. "timingPolicy": "fast-text",
  37. "source": "synthetic",
  38. "syntheticReason": "固定聊天响应,只验证无发布资源时普通聊天仍可完成。"
  39. },
  40. "match": {
  41. "method": "POST",
  42. "pathIncludes": "/messages",
  43. "bodyIncludes": [
  44. "E2E_LOP_EMPTY_CHAT",
  45. "E2E_LOP_EMPTY_CHAT_DONE"
  46. ],
  47. "bodyExcludes": [
  48. "Generate a concise title",
  49. "CRITICAL: Respond with TEXT ONLY"
  50. ]
  51. },
  52. "response": {
  53. "statusCode": 200,
  54. "text": {
  55. "id": "lop-empty-chat",
  56. "text": "E2E_LOP_EMPTY_CHAT_DONE",
  57. "inputTokens": 100,
  58. "outputTokens": 10
  59. }
  60. }
  61. }
  62. ]
  63. }