simple.yaml

  1---
  2version: 2
  3interactions:
  4- id: 0
  5  request:
  6    proto: HTTP/1.1
  7    proto_major: 1
  8    proto_minor: 1
  9    content_length: 212
 10    host: ""
 11    body: '{"max_output_tokens":4000,"store":false,"input":[{"content":"You are a helpful assistant","role":"developer"},{"content":[{"text":"Say hi in Portuguese","type":"input_text"}],"role":"user"}],"model":"gpt-5-mini"}'
 12    headers:
 13      Accept:
 14      - application/json
 15      Content-Type:
 16      - application/json
 17      User-Agent:
 18      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
 19    url: https://fantasy-playground-resource.openai.azure.com/openai/v1/responses
 20    method: POST
 21  response:
 22    proto: HTTP/2.0
 23    proto_major: 2
 24    proto_minor: 0
 25    content_length: 3194
 26    body: |-
 27      {
 28        "id": "resp_07781033bdb3b0150169b2ff64410c8195840d5e5463a5edea",
 29        "object": "response",
 30        "created_at": 1773338468,
 31        "status": "completed",
 32        "background": false,
 33        "completed_at": 1773338471,
 34        "content_filters": [
 35          {
 36            "blocked": false,
 37            "source_type": "prompt",
 38            "content_filter_raw": [],
 39            "content_filter_results": {
 40              "hate": {
 41                "filtered": false,
 42                "severity": "safe"
 43              },
 44              "sexual": {
 45                "filtered": false,
 46                "severity": "safe"
 47              },
 48              "violence": {
 49                "filtered": false,
 50                "severity": "safe"
 51              },
 52              "self_harm": {
 53                "filtered": false,
 54                "severity": "safe"
 55              },
 56              "jailbreak": {
 57                "detected": false,
 58                "filtered": false
 59              }
 60            },
 61            "content_filter_offsets": {
 62              "start_offset": 0,
 63              "end_offset": 53,
 64              "check_offset": 0
 65            }
 66          },
 67          {
 68            "blocked": false,
 69            "source_type": "completion",
 70            "content_filter_raw": [],
 71            "content_filter_results": {
 72              "hate": {
 73                "filtered": false,
 74                "severity": "safe"
 75              },
 76              "sexual": {
 77                "filtered": false,
 78                "severity": "safe"
 79              },
 80              "violence": {
 81                "filtered": false,
 82                "severity": "safe"
 83              },
 84              "self_harm": {
 85                "filtered": false,
 86                "severity": "safe"
 87              },
 88              "protected_material_code": {
 89                "detected": false,
 90                "filtered": false
 91              },
 92              "protected_material_text": {
 93                "detected": false,
 94                "filtered": false
 95              }
 96            },
 97            "content_filter_offsets": {
 98              "start_offset": 0,
 99              "end_offset": 409,
100              "check_offset": 0
101            }
102          }
103        ],
104        "error": null,
105        "frequency_penalty": 0.0,
106        "incomplete_details": null,
107        "instructions": null,
108        "max_output_tokens": 4000,
109        "max_tool_calls": null,
110        "model": "gpt-5-mini",
111        "output": [
112          {
113            "id": "rs_07781033bdb3b0150169b2ff64cc648195856b2ada86d22dea",
114            "type": "reasoning",
115            "summary": []
116          },
117          {
118            "id": "msg_07781033bdb3b0150169b2ff660a1c8195ae505f9842f3f5f2",
119            "type": "message",
120            "status": "completed",
121            "content": [
122              {
123                "type": "output_text",
124                "annotations": [],
125                "logprobs": [],
126                "text": "Ol\u00e1!"
127              }
128            ],
129            "role": "assistant"
130          }
131        ],
132        "parallel_tool_calls": true,
133        "presence_penalty": 0.0,
134        "previous_response_id": null,
135        "prompt_cache_key": null,
136        "prompt_cache_retention": null,
137        "reasoning": {
138          "effort": "medium",
139          "summary": null
140        },
141        "safety_identifier": null,
142        "service_tier": "default",
143        "store": false,
144        "temperature": 1.0,
145        "text": {
146          "format": {
147            "type": "text"
148          },
149          "verbosity": "medium"
150        },
151        "tool_choice": "auto",
152        "tools": [],
153        "top_logprobs": 0,
154        "top_p": 1.0,
155        "truncation": "disabled",
156        "usage": {
157          "input_tokens": 19,
158          "input_tokens_details": {
159            "cached_tokens": 0
160          },
161          "output_tokens": 112,
162          "output_tokens_details": {
163            "reasoning_tokens": 64
164          },
165          "total_tokens": 131
166        },
167        "user": null,
168        "metadata": {}
169      }
170    headers:
171      Content-Type:
172      - application/json
173    status: 200 OK
174    code: 200
175    duration: 4.049976875s