---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 533
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"anthropic/claude-sonnet-4","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"enabled":true},"stream":true}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
    url: https://ai-gateway.vercel.sh/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"role":"assistant"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":"The user is asking for","reasoning_details":[{"type":"reasoning.text","text":"The user is asking for","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" information for Florence, Italy. I have","reasoning_details":[{"type":"reasoning.text","text":" information for Florence, Italy. I have","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" access","reasoning_details":[{"type":"reasoning.text","text":" access","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" to a weather","reasoning_details":[{"type":"reasoning.text","text":" to a weather","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" that takes","reasoning_details":[{"type":"reasoning.text","text":" that takes","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" a location parameter. The","reasoning_details":[{"type":"reasoning.text","text":" a location parameter. The","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" user has","reasoning_details":[{"type":"reasoning.text","text":" user has","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" provided a","reasoning_details":[{"type":"reasoning.text","text":" provided a","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" specific","reasoning_details":[{"type":"reasoning.text","text":" specific","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" location:","reasoning_details":[{"type":"reasoning.text","text":" location:","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" \"Florence, Italy\". I have","reasoning_details":[{"type":"reasoning.text","text":" \"Florence, Italy\". I have","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" all the required parameters to","reasoning_details":[{"type":"reasoning.text","text":" all the required parameters to","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":" make this function call.","reasoning_details":[{"type":"reasoning.text","text":" make this function call.","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":"","reasoning_details":[{"type":"reasoning.text","text":"","signature":"","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"reasoning":"","reasoning_details":[{"type":"reasoning.text","text":"","signature":"EqoDCkYICxgCKkBZgA2aLmZQDmRH4RVCT4iXR95b6oYoMjp4e2kPdf2Po5wKmOD2b4fyCcDgesqaf1am+tK5ghnLAfrPp0kAa4ZmEgyr3vKacUE8Up4nmkEaDPSXiNk4qskaSGtX/SIwgMopXKoF3DpGk3fOv181uIm/f8HJ08ME1rmg6zZtGL4GtujpmslDyrwtjxrxO4smKpECS2RKM2atZyXfC1hyYQfo8sgorqv9FxMHT810784iWAY4BVOmNcynU6aIgYb9uBl/rcOGdPa+o7mRq6+RSDIruhx92GtIeX7RQc3rKFQ8X1OBN3onj6DgBAQaQtetnhOrYbnNKx9HU7KO2duHhdEonmJA/+mlA0lLoy/uuGXH+BDljjOxM9PtvO8vNgbeuFlgTwudm/y28jfdg/UuDF3EtsDDgfLsi3VOiHc5l6O719rluaMv+rlum8nfFZd8z9ZRuxg5W1ZB9WWbk/j9FOsDyi2XlPdmZcHz/Q8EfOBjXkIobPPeFO9/COPWffp614f5FgVYOU/IzQaobIPRxZrVgzdgMHuWN86ucRpk0rYi1Y2MGAE=","format":"anthropic-claude-v1","index":0}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"toolu_01BSgre5nzVkzeu74htYGhf9","type":"function","function":{"name":"weather","arguments":""}}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\"loc"}}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ation"}}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\": \"Florenc"}}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"e, It"}}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"aly\"}"}}]},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_1e0wb1el6z"}

      data: {"id":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","object":"chat.completion.chunk","created":1773346348,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"provider_metadata":{"anthropic":{"usage":{"input_tokens":424,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":111,"service_tier":"standard","inference_geo":"not_available"},"cacheCreationInputTokens":0,"stopSequence":null,"iterations":null,"container":null,"contextManagement":null},"gateway":{"routing":{"originalModelId":"anthropic/claude-sonnet-4","resolvedProvider":"anthropic","resolvedProviderApiModelId":"claude-sonnet-4-20250514","internalResolvedModelId":"anthropic:claude-sonnet-4-20250514","fallbacksAvailable":["vertexAnthropic","bedrock"],"internalReasoning":"Selected anthropic as preferred provider for claude-sonnet-4. 2 fallback(s) available: vertexAnthropic, bedrock","planningReasoning":"System credentials planned for: anthropic, vertexAnthropic, bedrock. Total execution order: anthropic(system) → vertexAnthropic(system) → bedrock(system)","canonicalSlug":"anthropic/claude-sonnet-4","finalProvider":"anthropic","attempts":[{"provider":"anthropic","internalModelId":"anthropic:claude-sonnet-4-20250514","providerApiModelId":"claude-sonnet-4-20250514","credentialType":"system","success":true,"startTime":497829.598457,"endTime":500097.557676,"providerRequestId":"req_011CYyo8o5WrnbXNzSBKeyC5","statusCode":200,"providerResponseId":"msg_01X8A8EsxKzc7E6urRBoeCTP"}],"modelAttemptCount":1,"modelAttempts":[{"modelId":"anthropic:claude-sonnet-4-20250514","canonicalSlug":"anthropic/claude-sonnet-4","success":true,"providerAttemptCount":1,"providerAttempts":[{"provider":"anthropic","internalModelId":"anthropic:claude-sonnet-4-20250514","providerApiModelId":"claude-sonnet-4-20250514","credentialType":"system","success":true,"startTime":497829.598457,"endTime":500097.557676,"providerRequestId":"req_011CYyo8o5WrnbXNzSBKeyC5","statusCode":200,"providerResponseId":"msg_01X8A8EsxKzc7E6urRBoeCTP"}]}],"totalProviderAttemptCount":1},"cost":"0.002937","marketCost":"0.002937","generationId":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC","billableWebSearchCalls":0}}},"logprobs":null,"finish_reason":"tool_calls"}],"usage":{"prompt_tokens":424,"completion_tokens":111,"total_tokens":535,"cost":0.002937,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0},"cache_creation_input_tokens":0,"market_cost":0.002937},"system_fingerprint":"fp_1e0wb1el6z","generationId":"gen_01KKHTVPQBBT30Q2MRPZKYTGBC"}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 1.531697833s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 2011
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"tool_calls":[{"id":"toolu_01BSgre5nzVkzeu74htYGhf9","function":{"arguments":"{\"location\": \"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant","reasoning_details":[{"format":"anthropic-claude-v1","index":0,"signature":"EqoDCkYICxgCKkBZgA2aLmZQDmRH4RVCT4iXR95b6oYoMjp4e2kPdf2Po5wKmOD2b4fyCcDgesqaf1am+tK5ghnLAfrPp0kAa4ZmEgyr3vKacUE8Up4nmkEaDPSXiNk4qskaSGtX/SIwgMopXKoF3DpGk3fOv181uIm/f8HJ08ME1rmg6zZtGL4GtujpmslDyrwtjxrxO4smKpECS2RKM2atZyXfC1hyYQfo8sgorqv9FxMHT810784iWAY4BVOmNcynU6aIgYb9uBl/rcOGdPa+o7mRq6+RSDIruhx92GtIeX7RQc3rKFQ8X1OBN3onj6DgBAQaQtetnhOrYbnNKx9HU7KO2duHhdEonmJA/+mlA0lLoy/uuGXH+BDljjOxM9PtvO8vNgbeuFlgTwudm/y28jfdg/UuDF3EtsDDgfLsi3VOiHc5l6O719rluaMv+rlum8nfFZd8z9ZRuxg5W1ZB9WWbk/j9FOsDyi2XlPdmZcHz/Q8EfOBjXkIobPPeFO9/COPWffp614f5FgVYOU/IzQaobIPRxZrVgzdgMHuWN86ucRpk0rYi1Y2MGAE=","text":"The user is asking for weather information for Florence, Italy. I have access to a weather function that takes a location parameter. The user has provided a specific location: \"Florence, Italy\". I have all the required parameters to make this function call.","type":"reasoning.text"}],"reasoning":"The user is asking for weather information for Florence, Italy. I have access to a weather function that takes a location parameter. The user has provided a specific location: \"Florence, Italy\". I have all the required parameters to make this function call."},{"content":"40 C","tool_call_id":"toolu_01BSgre5nzVkzeu74htYGhf9","role":"tool"}],"model":"anthropic/claude-sonnet-4","stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"enabled":true},"stream":true}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
    url: https://ai-gateway.vercel.sh/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"role":"assistant"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":" current"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":" temperature"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":" in Florence, Italy is 40°"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":"C (104°F). That"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":"'s quite"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":" hot"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":"! Make"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":" sure to"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":" stay"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":" hydrated and seek"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":" shade"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":" if"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":" you're planning"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":" to be outd"},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"content":"oors."},"logprobs":null,"finish_reason":null}],"system_fingerprint":"fp_pl8zjdnv4r"}

      data: {"id":"gen_01KKHTVS46PBEVCGXG19NVGNMN","object":"chat.completion.chunk","created":1773346351,"model":"anthropic/claude-sonnet-4","choices":[{"index":0,"delta":{"provider_metadata":{"anthropic":{"usage":{"input_tokens":550,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":43,"service_tier":"standard","inference_geo":"not_available"},"cacheCreationInputTokens":0,"stopSequence":null,"iterations":null,"container":null,"contextManagement":null},"gateway":{"routing":{"originalModelId":"anthropic/claude-sonnet-4","resolvedProvider":"anthropic","resolvedProviderApiModelId":"claude-sonnet-4-20250514","internalResolvedModelId":"anthropic:claude-sonnet-4-20250514","fallbacksAvailable":["vertexAnthropic","bedrock"],"internalReasoning":"Selected anthropic as preferred provider for claude-sonnet-4. 2 fallback(s) available: vertexAnthropic, bedrock","planningReasoning":"System credentials planned for: anthropic, vertexAnthropic, bedrock. Total execution order: anthropic(system) → vertexAnthropic(system) → bedrock(system)","canonicalSlug":"anthropic/claude-sonnet-4","finalProvider":"anthropic","attempts":[{"provider":"anthropic","internalModelId":"anthropic:claude-sonnet-4-20250514","providerApiModelId":"claude-sonnet-4-20250514","credentialType":"system","success":true,"startTime":421755.257908,"endTime":423645.33994,"providerRequestId":"req_011CYyo8yjyBTzwqH112rSoj","statusCode":200,"providerResponseId":"msg_01C3XefUopNkLtipzXMQDdzG"}],"modelAttemptCount":1,"modelAttempts":[{"modelId":"anthropic:claude-sonnet-4-20250514","canonicalSlug":"anthropic/claude-sonnet-4","success":true,"providerAttemptCount":1,"providerAttempts":[{"provider":"anthropic","internalModelId":"anthropic:claude-sonnet-4-20250514","providerApiModelId":"claude-sonnet-4-20250514","credentialType":"system","success":true,"startTime":421755.257908,"endTime":423645.33994,"providerRequestId":"req_011CYyo8yjyBTzwqH112rSoj","statusCode":200,"providerResponseId":"msg_01C3XefUopNkLtipzXMQDdzG"}]}],"totalProviderAttemptCount":1},"cost":"0.002295","marketCost":"0.002295","generationId":"gen_01KKHTVS46PBEVCGXG19NVGNMN","billableWebSearchCalls":0}}},"logprobs":null,"finish_reason":"stop"}],"usage":{"prompt_tokens":550,"completion_tokens":43,"total_tokens":593,"cost":0.002295,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0},"cache_creation_input_tokens":0,"market_cost":0.002295},"system_fingerprint":"fp_pl8zjdnv4r","generationId":"gen_01KKHTVS46PBEVCGXG19NVGNMN"}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 1.136891417s
