---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 202
    host: generativelanguage.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://generativelanguage.googleapis.com/v1beta/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": {
              "parts": [
                {
                  "text": "Of course!\n\nThe most common ways to say \"hi\" in Portuguese are:\n\n*   **Olá** (oh-LAH) - This is the direct translation of \"hello\" and can be used in any situation, formal or informal.\n*   **Oi** (OY) - This is more like \"hi\" and is very common and casual, especially in Brazil.\n\nYou can also use greetings that depend on the time of day:\n\n*   **Bom dia** (bohm GEE-ah) - Good morning\n*   **Boa tarde** (BOH-ah TAR-jee) - Good afternoon\n*   **Boa noite** (BOH-ah NOY-chee) - Good evening / Good night"
                }
              ],
              "role": "model"
            },
            "finishReason": "STOP",
            "index": 0
          }
        ],
        "usageMetadata": {
          "promptTokenCount": 11,
          "candidatesTokenCount": 152,
          "totalTokenCount": 816,
          "promptTokensDetails": [
            {
              "modality": "TEXT",
              "tokenCount": 11
            }
          ],
          "thoughtsTokenCount": 653
        },
        "modelVersion": "gemini-2.5-pro",
        "responseId": "aACzadbaBJboz7IPu7SlwQE"
      }
    headers:
      Content-Type:
      - application/json; charset=UTF-8
    status: 200 OK
    code: 200
    duration: 9.00807775s
