interactions:
- request:
    body: |-
      {
        "contents": [
          {
            "parts": [
              {
                "text": "Create a poem about Open Telemetry."
              }
            ],
            "role": "user"
          }
        ]
      }
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '92'
      Content-Type:
      - application/json
      user-agent:
      - google-genai-sdk/1.0.0 gl-python/3.12.8
      x-goog-api-client:
      - <REDACTED>
      x-goog-user-project:
      - <REDACTED>
    method: POST
    uri: https://test-location-aiplatform.googleapis.com/v1beta1/projects/test-project/locations/test-location/publishers/google/models/gemini-1.5-flash-002:generateContent
  response:
    body:
      string: |-
        {
          "candidates": [
            {
              "content": {
                "role": "model",
                "parts": [
                  {
                    "text": "No more dark, mysterious traces,\nNo more guessing, in empty spaces.\nOpenTelemetry's light now shines,\nIlluminating all our designs.\n\nFrom microservices, small and fleet,\nTo monolithic beasts, hard to beat,\nIt weaves a net, both fine and strong,\nWhere metrics flow, where logs belong.\n\nTraces dance, a vibrant hue,\nShowing journeys, old and new.\nSpans unfold, a story told,\nOf requests handled, brave and bold.\n\nMetrics hum, a steady beat,\nLatency, errors, can't be beat.\nDistribution charts, a clear display,\nGuiding us along the way.\n\nLogs provide a detailed view,\nOf what happened, me and you.\nContext rich, with helpful clues,\nDebugging woes, it quickly subdues.\n\nWith exporters wise, a thoughtful choice,\nTo Prometheus, Jaeger, or Zipkin's voice,\nOur data flows, a precious stream,\nReal-time insights, a waking dream.\n\nSo hail to OpenTelemetry's might,\nBringing clarity to our darkest night.\nObservability's champion, bold and true,\nA brighter future, for me and you.\n"
                  }
                ]
              },
              "finishReason": "STOP",
              "avgLogprobs": -0.4071464086238575
            }
          ],
          "usageMetadata": {
            "promptTokenCount": 8,
            "candidatesTokenCount": 253,
            "totalTokenCount": 261,
            "promptTokensDetails": [
              {
                "modality": "TEXT",
                "tokenCount": 8
              }
            ],
            "candidatesTokensDetails": [
              {
                "modality": "TEXT",
                "tokenCount": 253
              }
            ]
          },
          "modelVersion": "gemini-1.5-flash-002",
          "createTime": "2025-03-07T22:19:12.443989Z",
          "responseId": "4HDLZ9WMG6SK698Pr5uZ2Qw"
        }
    headers:
      Content-Encoding:
      - gzip
      Content-Type:
      - application/json; charset=UTF-8
      Transfer-Encoding:
      - chunked
      Vary:
      - Origin
      - X-Origin
      - Referer
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-XSS-Protection:
      - '0'
    status:
      code: 200
      message: OK
version: 1
