---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 202
    host: us-east5-aiplatform.googleapis.com
    body: |
      {"contents":[{"parts":[{"text":"Say hi in Portuguese"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"}}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
      - google-genai-sdk/1.49.0 gl-go/go1.26.1
    url: https://us-east5-aiplatform.googleapis.com/v1beta1/projects/fantasy-playground-472418/locations/us-east5/publishers/google/models/gemini-2.5-pro:generateContent
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    uncompressed: true
    body: |
      {
        "candidates": [
          {
            "content": {
              "role": "model",
              "parts": [
                {
                  "text": "Of course!\n\nThe most common ways to say \"hi\" in Portuguese are:\n\n*   **Oi** (sounds like \"oy\") - This is the most direct equivalent of \"hi\" and is very common, especially in Brazil.\n*   **Olá** (sounds like \"oh-lah\") - This is the equivalent of \"hello\" and can be used in any situation, formal or informal.\n\nYou can also use greetings based on the time of day:\n\n*   **Bom dia** - Good morning\n*   **Boa tarde** - Good afternoon\n*   **Boa noite** - Good evening / Good night"
                }
              ]
            },
            "finishReason": "STOP",
            "avgLogprobs": -0.79850663405198319
          }
        ],
        "usageMetadata": {
          "promptTokenCount": 9,
          "candidatesTokenCount": 130,
          "totalTokenCount": 857,
          "trafficType": "ON_DEMAND",
          "promptTokensDetails": [
            {
              "modality": "TEXT",
              "tokenCount": 9
            }
          ],
          "candidatesTokensDetails": [
            {
              "modality": "TEXT",
              "tokenCount": 130
            }
          ],
          "thoughtsTokenCount": 718
        },
        "modelVersion": "gemini-2.5-pro",
        "createTime": "2026-03-12T18:06:06.323808Z",
        "responseId": "jgCzaeDhE92Rt8gP1vXiYA"
      }
    headers:
      Content-Type:
      - application/json; charset=UTF-8
    status: 200 OK
    code: 200
    duration: 8.616830125s
