|
| 1 | +{ |
| 2 | + "version": 1, |
| 3 | + "metadata": { |
| 4 | + "provider": "openai", |
| 5 | + "protocol": "openai-responses", |
| 6 | + "transport": "websocket", |
| 7 | + "model": "gpt-5.5", |
| 8 | + "tags": [ |
| 9 | + "prefix:openai-responses-websocket", |
| 10 | + "provider:openai", |
| 11 | + "protocol:openai-responses", |
| 12 | + "transport:websocket", |
| 13 | + "continuation", |
| 14 | + "recovery" |
| 15 | + ], |
| 16 | + "name": "openai-responses-websocket/recovers-from-explicit-continuation-rejection", |
| 17 | + "recordedAt": "2026-08-20T00:00:00.000Z" |
| 18 | + }, |
| 19 | + "interactions": [ |
| 20 | + { |
| 21 | + "transport": "websocket", |
| 22 | + "connection": { |
| 23 | + "sequence": 0, |
| 24 | + "url": "wss://api.openai.com/v1/responses", |
| 25 | + "protocols": [], |
| 26 | + "close": { |
| 27 | + "code": 1000, |
| 28 | + "reason": "" |
| 29 | + } |
| 30 | + }, |
| 31 | + "events": [ |
| 32 | + { |
| 33 | + "direction": "client", |
| 34 | + "kind": "text", |
| 35 | + "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"role\":\"system\",\"content\":\"Follow the user's exact reply instruction.\"},{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Ready.\"}]}],\"store\":false,\"max_output_tokens\":30,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"text\":{\"verbosity\":\"low\"}}" |
| 36 | + }, |
| 37 | + { |
| 38 | + "direction": "server", |
| 39 | + "kind": "text", |
| 40 | + "body": "{\"type\":\"response.created\",\"response\":{\"id\":\"resp_ws_rejection_1\"}}" |
| 41 | + }, |
| 42 | + { |
| 43 | + "direction": "server", |
| 44 | + "kind": "text", |
| 45 | + "body": "{\"type\":\"response.output_item.added\",\"item\":{\"type\":\"message\",\"id\":\"msg_ws_rejection_1\",\"role\":\"assistant\",\"content\":[]}}" |
| 46 | + }, |
| 47 | + { |
| 48 | + "direction": "server", |
| 49 | + "kind": "text", |
| 50 | + "body": "{\"type\":\"response.output_text.delta\",\"item_id\":\"msg_ws_rejection_1\",\"delta\":\"Ready.\"}" |
| 51 | + }, |
| 52 | + { |
| 53 | + "direction": "server", |
| 54 | + "kind": "text", |
| 55 | + "body": "{\"type\":\"response.output_text.done\",\"item_id\":\"msg_ws_rejection_1\",\"text\":\"Ready.\"}" |
| 56 | + }, |
| 57 | + { |
| 58 | + "direction": "server", |
| 59 | + "kind": "text", |
| 60 | + "body": "{\"type\":\"response.output_item.done\",\"item\":{\"type\":\"message\",\"id\":\"msg_ws_rejection_1\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Ready.\"}]}}" |
| 61 | + }, |
| 62 | + { |
| 63 | + "direction": "server", |
| 64 | + "kind": "text", |
| 65 | + "body": "{\"type\":\"response.completed\",\"response\":{\"id\":\"resp_ws_rejection_1\"}}" |
| 66 | + } |
| 67 | + ] |
| 68 | + }, |
| 69 | + { |
| 70 | + "transport": "websocket", |
| 71 | + "connection": { |
| 72 | + "sequence": 1, |
| 73 | + "url": "wss://api.openai.com/v1/responses", |
| 74 | + "protocols": [], |
| 75 | + "close": { |
| 76 | + "code": 1000, |
| 77 | + "reason": "" |
| 78 | + } |
| 79 | + }, |
| 80 | + "events": [ |
| 81 | + { |
| 82 | + "direction": "client", |
| 83 | + "kind": "text", |
| 84 | + "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Recovered.\"}]}],\"store\":false,\"max_output_tokens\":30,\"previous_response_id\":\"resp_ws_rejection_1\",\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"text\":{\"verbosity\":\"low\"}}" |
| 85 | + }, |
| 86 | + { |
| 87 | + "direction": "server", |
| 88 | + "kind": "text", |
| 89 | + "body": "{\"type\":\"error\",\"error\":{\"code\":\"previous_response_not_found\",\"message\":\"Previous response not found\"}}" |
| 90 | + }, |
| 91 | + { |
| 92 | + "direction": "client", |
| 93 | + "kind": "text", |
| 94 | + "body": "{\"type\":\"response.create\",\"model\":\"gpt-5.5\",\"input\":[{\"role\":\"system\",\"content\":\"Follow the user's exact reply instruction.\"},{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Ready.\"}]},{\"type\":\"message\",\"id\":\"msg_ws_rejection_1\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Ready.\"}]},{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Reply exactly: Recovered.\"}]}],\"store\":false,\"max_output_tokens\":30,\"include\":[\"reasoning.encrypted_content\"],\"reasoning\":{\"effort\":\"medium\",\"summary\":\"auto\"},\"text\":{\"verbosity\":\"low\"}}" |
| 95 | + }, |
| 96 | + { |
| 97 | + "direction": "server", |
| 98 | + "kind": "text", |
| 99 | + "body": "{\"type\":\"response.created\",\"response\":{\"id\":\"resp_ws_rejection_2\"}}" |
| 100 | + }, |
| 101 | + { |
| 102 | + "direction": "server", |
| 103 | + "kind": "text", |
| 104 | + "body": "{\"type\":\"response.output_item.added\",\"item\":{\"type\":\"message\",\"id\":\"msg_ws_rejection_2\",\"role\":\"assistant\",\"content\":[]}}" |
| 105 | + }, |
| 106 | + { |
| 107 | + "direction": "server", |
| 108 | + "kind": "text", |
| 109 | + "body": "{\"type\":\"response.output_text.delta\",\"item_id\":\"msg_ws_rejection_2\",\"delta\":\"Recovered.\"}" |
| 110 | + }, |
| 111 | + { |
| 112 | + "direction": "server", |
| 113 | + "kind": "text", |
| 114 | + "body": "{\"type\":\"response.output_text.done\",\"item_id\":\"msg_ws_rejection_2\",\"text\":\"Recovered.\"}" |
| 115 | + }, |
| 116 | + { |
| 117 | + "direction": "server", |
| 118 | + "kind": "text", |
| 119 | + "body": "{\"type\":\"response.output_item.done\",\"item\":{\"type\":\"message\",\"id\":\"msg_ws_rejection_2\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"Recovered.\"}]}}" |
| 120 | + }, |
| 121 | + { |
| 122 | + "direction": "server", |
| 123 | + "kind": "text", |
| 124 | + "body": "{\"type\":\"response.completed\",\"response\":{\"id\":\"resp_ws_rejection_2\"}}" |
| 125 | + } |
| 126 | + ] |
| 127 | + } |
| 128 | + ] |
| 129 | +} |
0 commit comments