---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 226
    host: ""
    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","stream":true}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
    url: https://fantasy-playground-resource.openai.azure.com/openai/v1/responses
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      event: response.created
      data: {"type":"response.created","response":{"id":"resp_0cc665730fb33c420169b2ff67a3e8819494bb7f11d4d3fd29","object":"response","created_at":1773338471,"status":"in_progress","background":false,"completed_at":null,"content_filters":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":4000,"max_tool_calls":null,"model":"gpt-5-mini","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":"medium","summary":null},"safety_identifier":null,"service_tier":"auto","store":false,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":0}

      event: response.in_progress
      data: {"type":"response.in_progress","response":{"id":"resp_0cc665730fb33c420169b2ff67a3e8819494bb7f11d4d3fd29","object":"response","created_at":1773338471,"status":"in_progress","background":false,"completed_at":null,"content_filters":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":4000,"max_tool_calls":null,"model":"gpt-5-mini","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":"medium","summary":null},"safety_identifier":null,"service_tier":"auto","store":false,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":1}

      event: response.output_item.added
      data: {"type":"response.output_item.added","item":{"id":"rs_0cc665730fb33c420169b2ff68d3dc8194b77e20590bd047af","type":"reasoning","summary":[]},"output_index":0,"sequence_number":2}

      event: response.output_item.done
      data: {"type":"response.output_item.done","item":{"id":"rs_0cc665730fb33c420169b2ff68d3dc8194b77e20590bd047af","type":"reasoning","summary":[]},"output_index":0,"sequence_number":3}

      event: response.output_item.added
      data: {"type":"response.output_item.added","item":{"id":"msg_0cc665730fb33c420169b2ff6a0d80819488ab542d9bbfef0c","type":"message","status":"in_progress","content":[],"role":"assistant"},"output_index":1,"sequence_number":4}

      event: response.content_part.added
      data: {"type":"response.content_part.added","content_index":0,"item_id":"msg_0cc665730fb33c420169b2ff6a0d80819488ab542d9bbfef0c","output_index":1,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":""},"sequence_number":5}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"Olá","item_id":"msg_0cc665730fb33c420169b2ff6a0d80819488ab542d9bbfef0c","logprobs":[],"obfuscation":"uMdqAkmtvsKdc","output_index":1,"sequence_number":6}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"!","item_id":"msg_0cc665730fb33c420169b2ff6a0d80819488ab542d9bbfef0c","logprobs":[],"obfuscation":"wMMKr7VHxEPzV3h","output_index":1,"sequence_number":7}

      event: response.output_text.done
      data: {"type":"response.output_text.done","content_index":0,"item_id":"msg_0cc665730fb33c420169b2ff6a0d80819488ab542d9bbfef0c","logprobs":[],"output_index":1,"sequence_number":8,"text":"Olá!"}

      event: response.content_part.done
      data: {"type":"response.content_part.done","content_index":0,"item_id":"msg_0cc665730fb33c420169b2ff6a0d80819488ab542d9bbfef0c","output_index":1,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":"Olá!"},"sequence_number":9}

      event: response.output_item.done
      data: {"type":"response.output_item.done","item":{"id":"msg_0cc665730fb33c420169b2ff6a0d80819488ab542d9bbfef0c","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"Olá!"}],"role":"assistant"},"output_index":1,"sequence_number":10}

      event: response.completed
      data: {"type":"response.completed","response":{"id":"resp_0cc665730fb33c420169b2ff67a3e8819494bb7f11d4d3fd29","object":"response","created_at":1773338471,"status":"completed","background":false,"completed_at":1773338474,"content_filters":[{"blocked":false,"source_type":"prompt","content_filter_raw":[],"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"jailbreak":{"detected":false,"filtered":false}},"content_filter_offsets":{"start_offset":0,"end_offset":53,"check_offset":0}},{"blocked":false,"source_type":"completion","content_filter_raw":[],"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"protected_material_code":{"detected":false,"filtered":false},"protected_material_text":{"detected":false,"filtered":false}},"content_filter_offsets":{"start_offset":0,"end_offset":507,"check_offset":0}}],"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":4000,"max_tool_calls":null,"model":"gpt-5-mini","output":[{"id":"rs_0cc665730fb33c420169b2ff68d3dc8194b77e20590bd047af","type":"reasoning","summary":[]},{"id":"msg_0cc665730fb33c420169b2ff6a0d80819488ab542d9bbfef0c","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"Olá!"}],"role":"assistant"}],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":"medium","summary":null},"safety_identifier":null,"service_tier":"default","store":false,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":19,"input_tokens_details":{"cached_tokens":0},"output_tokens":132,"output_tokens_details":{"reasoning_tokens":64},"total_tokens":151},"user":null,"metadata":{}},"sequence_number":11}

    headers:
      Content-Type:
      - text/event-stream; charset=utf-8
    status: 200 OK
    code: 200
    duration: 656.864916ms
