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:streamGenerateContent?alt=sse
  response:
    body:
      string: "data: {\"candidates\": [{\"content\": {\"role\": \"model\",\"parts\"\
        : [{\"text\": \"No\"}]}}],\"usageMetadata\": {},\"modelVersion\": \"gemini-1.5-flash-002\"\
        ,\"createTime\": \"2025-03-07T22:19:20.770456Z\",\"responseId\": \"6HDLZ5iDL86F3NoPzaTkiQU\"\
        }\r\n\r\ndata: {\"candidates\": [{\"content\": {\"role\": \"model\",\"parts\"\
        : [{\"text\": \" more dark, mysterious traces,\\nNo more guessing, in time\
        \ and spaces.\"}]}}],\"modelVersion\": \"gemini-1.5-flash-002\",\"createTime\"\
        : \"2025-03-07T22:19:20.770456Z\",\"responseId\": \"6HDLZ5iDL86F3NoPzaTkiQU\"\
        }\r\n\r\ndata: {\"candidates\": [{\"content\": {\"role\": \"model\",\"parts\"\
        : [{\"text\": \"\\nOpen Telemetry's light shines bright,\\nIlluminating the\
        \ code'\"}]}}],\"modelVersion\": \"gemini-1.5-flash-002\",\"createTime\":\
        \ \"2025-03-07T22:19:20.770456Z\",\"responseId\": \"6HDLZ5iDL86F3NoPzaTkiQU\"\
        }\r\n\r\ndata: {\"candidates\": [{\"content\": {\"role\": \"model\",\"parts\"\
        : [{\"text\": \"s dark night.\\n\\nFrom spans and metrics, a story told,\\\
        nOf requests flowing, both brave and bold.\\nTraces weaving, a tapestry grand,\"\
        }]}}],\"modelVersion\": \"gemini-1.5-flash-002\",\"createTime\": \"2025-03-07T22:19:20.770456Z\"\
        ,\"responseId\": \"6HDLZ5iDL86F3NoPzaTkiQU\"}\r\n\r\ndata: {\"candidates\"\
        : [{\"content\": {\"role\": \"model\",\"parts\": [{\"text\": \"\\nShowing\
        \ performance, across the land.\\n\\nLogs and metrics, a perfect blend,\\\
        nInformation's flow, without end.\\nObservability's promise\"}]}}],\"modelVersion\"\
        : \"gemini-1.5-flash-002\",\"createTime\": \"2025-03-07T22:19:20.770456Z\"\
        ,\"responseId\": \"6HDLZ5iDL86F3NoPzaTkiQU\"}\r\n\r\ndata: {\"candidates\"\
        : [{\"content\": {\"role\": \"model\",\"parts\": [{\"text\": \", clear and\
        \ true,\\nInsights revealed, for me and you.\\n\\nJaeger, Zipkin, a chorus\
        \ sings,\\nWith exporters ready, for all the things.\\nFrom simple apps to\
        \ systems vast,\\nOpen Telemetry'\"}]}}],\"modelVersion\": \"gemini-1.5-flash-002\"\
        ,\"createTime\": \"2025-03-07T22:19:20.770456Z\",\"responseId\": \"6HDLZ5iDL86F3NoPzaTkiQU\"\
        }\r\n\r\ndata: {\"candidates\": [{\"content\": {\"role\": \"model\",\"parts\"\
        : [{\"text\": \"s power will last.\\n\\nNo vendor lock-in, a freedom sweet,\\\
        nOpen source glory, can't be beat.\\nSo let us embrace, this modern way,\\\
        nTo monitor systems, come what may.\\n\\nFrom\"}]}}],\"modelVersion\": \"\
        gemini-1.5-flash-002\",\"createTime\": \"2025-03-07T22:19:20.770456Z\",\"\
        responseId\": \"6HDLZ5iDL86F3NoPzaTkiQU\"}\r\n\r\ndata: {\"candidates\": [{\"\
        content\": {\"role\": \"model\",\"parts\": [{\"text\": \" microservices, small\
        \ and slight,\\nTo monolithic giants, shining bright,\\nOpen Telemetry shows\
        \ the path,\\nTo understand, and fix the wrath,\\nOf latency demons, lurking\
        \ near,\\nBringing clarity, year after year.\\n\"}]},\"finishReason\": \"\
        STOP\"}],\"usageMetadata\": {\"promptTokenCount\": 8,\"candidatesTokenCount\"\
        : 242,\"totalTokenCount\": 250,\"promptTokensDetails\": [{\"modality\": \"\
        TEXT\",\"tokenCount\": 8}],\"candidatesTokensDetails\": [{\"modality\": \"\
        TEXT\",\"tokenCount\": 242}]},\"modelVersion\": \"gemini-1.5-flash-002\",\"\
        createTime\": \"2025-03-07T22:19:20.770456Z\",\"responseId\": \"6HDLZ5iDL86F3NoPzaTkiQU\"\
        }\r\n\r\n"
    headers:
      Content-Disposition:
      - attachment
      Content-Type:
      - text/event-stream
      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
