conversation-session-offpeak-subagent-model-inheritance.json 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-offpeak-subagent-model-inheritance",
  4. "spec": "./test/e2e/conversation-session/conversation-session-offpeak-subagent-model-inheritance.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "offpeak-subagents-ordinary-prompt",
  8. "description": "OP10 闲时 turn 完成后,同一 session 的普通 prompt 必须恢复用户 上游 provider。",
  9. "metadata": {
  10. "kind": "main",
  11. "timingPolicy": "fast-text",
  12. "source": "synthetic",
  13. "syntheticReason": "闲时 mock gateway 独立承载 execution-scoped Active Model;本响应只稳定证明下一条普通 prompt 已回到用户 provider。"
  14. },
  15. "maxMatches": 1,
  16. "match": {
  17. "method": "POST",
  18. "pathIncludes": "/messages",
  19. "lastUserMessageIncludes": ["E2E_OFFPEAK_SUBAGENTS_ORDINARY_PROMPT"],
  20. "bodyIncludes": ["E2E_OFFPEAK_SUBAGENTS_ORDINARY_PROMPT"]
  21. },
  22. "response": {
  23. "statusCode": 200,
  24. "text": {
  25. "id": "upstream-e2e-offpeak-subagents-ordinary",
  26. "inputTokens": 128,
  27. "outputTokens": 12,
  28. "text": "E2E_OFFPEAK_SUBAGENTS_ORDINARY_OK"
  29. }
  30. }
  31. }
  32. ]
  33. }