---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 499
    host: generativelanguage.googleapis.com
    body: |
      {"contents":[{"parts":[{"text":"Generate information about a person named Alice who is 30 years old and lives in Paris."}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000,"responseJsonSchema":{"properties":{"age":{"description":"The person's age","type":"integer"},"city":{"description":"The city where the person lives","type":"string"},"name":{"description":"The person's name","type":"string"}},"required":["name","age","city"],"type":"object"},"responseMimeType":"application/json"}}
    form:
      alt:
      - sse
    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-3-pro-preview:streamGenerateContent?alt=sse
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"{\\\"age\\\":30,\\\"city\\\":\\\"Paris\\\",\\\"name\\\":\\\"Alice\\\"}\"}],\"role\": \"model\"},\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 20,\"candidatesTokenCount\": 14,\"totalTokenCount\": 322,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 20}],\"thoughtsTokenCount\": 288},\"modelVersion\": \"gemini-3.1-pro-preview\",\"responseId\": \"5ACzaZ__IeLmz7IPh7_F8QE\"}\r\n\r\ndata: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"\",\"thoughtSignature\": \"EuQICuEIAb4+9vvJKGZmdmSaWwutI6ZYB3NqBsJaM3J5+1D2Kj7FAdIk0+U1ryJTgay2p+JujW/GKxSs1NnCbfAYpyRdsPsbRHPFWVeO4u8gue54KOFIDf1S71YdhI+x3dTB5zkExpnNxqcQmSHg42v+xvYuQZY3moWgkhX8P8MFjmLw2BNXHeBAnmgf9MeXuyXolDrhQTj5ScQbxDQQ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IQHjQXw1SlbbsFn7irlTLR+2CW5klXCI3+1jhF3VIhlu8RLKqzW6JfF81PEsD7lQn4otAI4SLjh5w+BCAZjeTpFQOfrt2GtV+hicYocvBNQEEOJKvvbT+UvFqSQjOIjWI9y3ulfiUMqtsueyC/5vJ7qleCMh0lUB+tB0AI2d8h16dK9RCkPx5loEFxN1Fbm8w56zaLD1Y=\"}],\"role\": \"model\"},\"finishReason\": \"STOP\",\"index\": 0}],\"usageMetadata\": {\"promptTokenCount\": 20,\"candidatesTokenCount\": 14,\"totalTokenCount\": 322,\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 20}],\"thoughtsTokenCount\": 288},\"modelVersion\": \"gemini-3.1-pro-preview\",\"responseId\": \"5ACzaZ__IeLmz7IPh7_F8QE\"}\r\n\r\n"
    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 4.386368959s
