{ "version": 1, "caseName": "conversation-session-ssh-remote-server-fault", "spec": "./test/e2e/conversation-session/remote/connection/conversation-session-ssh-remote-server-fault.test.ts", "fixtures": [ { "id": "ssh-server-fault-title", "description": "SSH server fault task 标题辅助响应。", "metadata": { "kind": "common", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "标题不属于远端 server 故障断言。" }, "maxMatches": 4, "match": { "method": "POST", "pathIncludes": "/chat/completions", "bodyIncludes": ["Generate a concise title", "E2E_SSH_P0_SERVER_FAULT"] }, "response": { "statusCode": 200, "headers": { "content-type": "application/json; charset=utf-8" }, "body": "{\"id\":\"ssh-fault-title\",\"object\":\"chat.completion\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"{\\\"title\\\":\\\"SSH server fault\\\"}\"},\"finish_reason\":\"stop\"}]}" } }, { "id": "ssh-server-fault-main", "description": "SSH server fault 重连前后的首发和续发通用响应。", "metadata": { "kind": "main", "timingPolicy": "slow-stream", "source": "synthetic", "syntheticReason": "server fault 后通过 task history 与新 remoteSessionId 断言恢复路由。" }, "maxMatches": 10, "match": { "method": "POST", "pathIncludes": "/chat/completions", "bodyIncludes": ["E2E_SSH_P0_SERVER_FAULT_"], "bodyExcludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "delayMs": 1200, "headers": { "content-type": "text/event-stream; charset=utf-8" }, "body": "data: {\"id\":\"ssh-fault-main\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"SSH_P0_SERVER_FAULT_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"ssh-fault-main\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}]}\n\ndata: [DONE]\n\n" } } ] }