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: 509
 10    host: us-east5-aiplatform.googleapis.com
 11    body: |
 12      {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]}
 13    headers:
 14      Content-Type:
 15      - application/json
 16      User-Agent:
 17      - google-genai-sdk/1.33.0 gl-go/go1.25.0
 18    url: https://us-east5-aiplatform.googleapis.com/v1beta1/projects/fantasy-playground-472418/locations/us-east5/publishers/google/models/gemini-2.5-pro:generateContent
 19    method: POST
 20  response:
 21    proto: HTTP/2.0
 22    proto_major: 2
 23    proto_minor: 0
 24    content_length: -1
 25    uncompressed: true
 26    body: |
 27      {
 28        "candidates": [
 29          {
 30            "content": {
 31              "role": "model",
 32              "parts": [
 33                {
 34                  "functionCall": {
 35                    "name": "weather",
 36                    "args": {
 37                      "location": "Florence, Italy"
 38                    }
 39                  },
 40                  "thoughtSignature": "CowEAePx/16C696DNWj4PuxMNS0zO6v+tdCJF1yJnn07eZuEPLPnvQ6p+oyw3hrynhBTBfnV4DLp94IKgX2qrApBR+CmZ3tqxhvwAG3luoBPWFlXTHfTGClpOrLI3Un76DOTzl3LCtmclum3o8kXE4V5PmRCeO2WXfLnwdy/hxs86ksrxyN6Y5edf1q/9tfu4PIJU+DpsJ7dNO6VZ5Lg0+FHxmVbXJq6Gpe/0FlwCXqolzyPeKMfhcTFUQtjr99pmS4rHWLDIF2ftwUBWzZembLj24OF+vWikxaWRcojZ5rh3KTluf+czMQWbGmmZUOsuRiOd84J/n1HDkqJ9RRGXSOrbiHpRasvNaMbLG6ufvkPSKm++DYe+tVmx40dwbr7hStfhAgKyNcBjRctIj9lHFlX1jczygVAxsv+6DK6UjEgZNWKtzkecZTzJWCzwLoQqpa56DD9eiMvq2Btfw47SxRkRTbQTOyJvPGVPBqaJksU2qOOprUdCqVCcxbJJfcFcVrTRiz1TNVTs89U1JiWm71RBJqXQBgLYYfryqSJ6E6lAlejy+7nc0q6YPleHC+4K3XyL2I5Q5HUwoEjEHnMCYAe+J68ztkjRablCHICIWJI08O+Ii9hgF9wIEkoZlA2A3deHYWfDh1mMjdZEZ2IibwroGaRaSq6AOJUyfWL9GgJb3/OnNWhpw6MlLV0Ol4="
 41                }
 42              ]
 43            },
 44            "finishReason": "STOP",
 45            "avgLogprobs": -0.95030345916748049
 46          }
 47        ],
 48        "usageMetadata": {
 49          "promptTokenCount": 28,
 50          "candidatesTokenCount": 5,
 51          "totalTokenCount": 155,
 52          "trafficType": "ON_DEMAND",
 53          "promptTokensDetails": [
 54            {
 55              "modality": "TEXT",
 56              "tokenCount": 28
 57            }
 58          ],
 59          "candidatesTokensDetails": [
 60            {
 61              "modality": "TEXT",
 62              "tokenCount": 5
 63            }
 64          ],
 65          "thoughtsTokenCount": 122
 66        },
 67        "modelVersion": "gemini-2.5-pro",
 68        "createTime": "2025-11-03T19:53:18.064499Z",
 69        "responseId": "LggJafP3A62G0ekP9tjQmAk"
 70      }
 71    headers:
 72      Content-Type:
 73      - application/json; charset=UTF-8
 74    status: 200 OK
 75    code: 200
 76    duration: 2.300412708s
 77- id: 1
 78  request:
 79    proto: HTTP/1.1
 80    proto_major: 1
 81    proto_minor: 1
 82    content_length: 723
 83    host: us-east5-aiplatform.googleapis.com
 84    body: |
 85      {"contents":[{"parts":[{"text":"What's the weather in Florence,Italy?"}],"role":"user"},{"parts":[{"functionCall":{"args":{"location":"Florence, Italy"},"id":"1","name":"weather"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"1","name":"weather","response":{"result":"40 C"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant"}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"STRING"}},"required":["location"],"type":"OBJECT"}}]}]}
 86    headers:
 87      Content-Type:
 88      - application/json
 89      User-Agent:
 90      - google-genai-sdk/1.33.0 gl-go/go1.25.0
 91    url: https://us-east5-aiplatform.googleapis.com/v1beta1/projects/fantasy-playground-472418/locations/us-east5/publishers/google/models/gemini-2.5-pro:generateContent
 92    method: POST
 93  response:
 94    proto: HTTP/2.0
 95    proto_major: 2
 96    proto_minor: 0
 97    content_length: -1
 98    uncompressed: true
 99    body: |
100      {
101        "candidates": [
102          {
103            "content": {
104              "role": "model",
105              "parts": [
106                {
107                  "text": "The weather in Florence, Italy is 40 degrees Celsius. \n"
108                }
109              ]
110            },
111            "finishReason": "STOP",
112            "avgLogprobs": -0.077328896522521978
113          }
114        ],
115        "usageMetadata": {
116          "promptTokenCount": 38,
117          "candidatesTokenCount": 15,
118          "totalTokenCount": 53,
119          "trafficType": "ON_DEMAND",
120          "promptTokensDetails": [
121            {
122              "modality": "TEXT",
123              "tokenCount": 38
124            }
125          ],
126          "candidatesTokensDetails": [
127            {
128              "modality": "TEXT",
129              "tokenCount": 15
130            }
131          ]
132        },
133        "modelVersion": "gemini-2.5-pro",
134        "createTime": "2025-11-03T19:53:20.397608Z",
135        "responseId": "MAgJaaiiGNGE0ekPn_2gsAo"
136      }
137    headers:
138      Content-Type:
139      - application/json; charset=UTF-8
140    status: 200 OK
141    code: 200
142    duration: 1.349412417s