conversation-session-open-existing-only.json 1023 B

12345678910111213141516171819202122232425262728
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-open-existing-only",
  4. "spec": "./test/e2e/conversation-session/conversation-session-open-existing-only.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "upstream-session-open-existing-only-reply",
  8. "description": "草稿首发返回固定文本,建立可离开后重开的正式 Session。",
  9. "metadata": {
  10. "kind": "main",
  11. "timingPolicy": "fast-text",
  12. "source": "synthetic",
  13. "syntheticReason": "核心合同是新建首次绑定零 session-open、重开已有 Session 一组配对事件;固定回复只用于稳定结束首轮。"
  14. },
  15. "maxMatches": 1,
  16. "match": {
  17. "method": "POST",
  18. "pathIncludes": "/messages",
  19. "lastUserMessageIncludes": ["E2E_SESSION_OPEN_EXISTING_ONLY"],
  20. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  21. },
  22. "response": {
  23. "statusCode": 200,
  24. "text": "session-open-existing-only-ok"
  25. }
  26. }
  27. ]
  28. }