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: 209
 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":"o4-mini"}'
 12    headers:
 13      Accept:
 14      - application/json
 15      Content-Type:
 16      - application/json
 17      User-Agent:
 18      - OpenAI/Go 2.7.1
 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: 1520
 26    body: |-
 27      {
 28        "id": "resp_056c26e70a8e16d60169039987a9748195bc77169735bc7b98",
 29        "object": "response",
 30        "created_at": 1761843591,
 31        "status": "completed",
 32        "background": false,
 33        "content_filters": null,
 34        "error": null,
 35        "incomplete_details": null,
 36        "instructions": null,
 37        "max_output_tokens": 4000,
 38        "max_tool_calls": null,
 39        "model": "o4-mini",
 40        "output": [
 41          {
 42            "id": "rs_056c26e70a8e16d601690399881f0c8195aa22699fa3be5974",
 43            "type": "reasoning",
 44            "summary": []
 45          },
 46          {
 47            "id": "msg_056c26e70a8e16d601690399893da08195a98d7b4b749fcfe4",
 48            "type": "message",
 49            "status": "completed",
 50            "content": [
 51              {
 52                "type": "output_text",
 53                "annotations": [],
 54                "logprobs": [],
 55                "text": "Ol\u00e1!"
 56              }
 57            ],
 58            "role": "assistant"
 59          }
 60        ],
 61        "parallel_tool_calls": true,
 62        "previous_response_id": null,
 63        "prompt_cache_key": null,
 64        "reasoning": {
 65          "effort": "medium",
 66          "summary": null
 67        },
 68        "safety_identifier": null,
 69        "service_tier": "default",
 70        "store": false,
 71        "temperature": 1.0,
 72        "text": {
 73          "format": {
 74            "type": "text"
 75          },
 76          "verbosity": "medium"
 77        },
 78        "tool_choice": "auto",
 79        "tools": [],
 80        "top_logprobs": 0,
 81        "top_p": 1.0,
 82        "truncation": "disabled",
 83        "usage": {
 84          "input_tokens": 19,
 85          "input_tokens_details": {
 86            "cached_tokens": 0
 87          },
 88          "output_tokens": 72,
 89          "output_tokens_details": {
 90            "reasoning_tokens": 64
 91          },
 92          "total_tokens": 91
 93        },
 94        "user": null,
 95        "metadata": {}
 96      }
 97    headers:
 98      Content-Type:
 99      - application/json
100    status: 200 OK
101    code: 200
102    duration: 1.899735709s