---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 828
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}'
    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
    uncompressed: true
    body: '{"id":"gen_01KKHTQCMWEN9M7ZV1VXWW71WF","object":"chat.completion","created":1773346215,"model":"openai/gpt-5","choices":[{"index":0,"message":{"role":"assistant","content":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABpsx2nWz7Qu94ZCj6UtwYGAW2QCjZuEoPDGwKjlkboS7oZusjxO2Fh7ZLl7_ghBocp__aWwZhJawnamO5a_JHWRbVS51OFxWXOZt_SDVVw8ONASMqdfAXrrDcj1d9hSwSzbQun27FQN5C8fH9dY_vtICJGSN7oG5jjeoeKkcUNY926kd-uh9bh5MxJqvi9nj21ZeGW2h-vD6WLGr2RMOHt5X1vJZgaFCFfr_eeWAxjrx1t0JGokRiWKAu4eA_9PV8zwVce8ML3hB-tW0npxZ4aqVLY2du93BV_s29HoHHnylM1_KwNsYc3Uj2EmtRKU_BfQ-lDN0qpn8KysCnmJ-h1MoWM2XzLCCK1ihQ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Y-kMbzkzPB6a5ogag4vCIs0bHpwtbO09vPmmRwFenfmecoMd4x6J4XSZ4pmA=","id":"rs_0ad6ba22a72d850f0169b31d9f0e948190aee9b5b531ab5d35","format":"openai-responses-v1","index":0}],"tool_calls":[{"id":"call_ulMqJOy9WR0LRV2ImHkmBfEX","type":"function","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"}},{"id":"call_nIrswpoKOV3YHDGXlLHtmWwa","type":"function","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"}}],"provider_metadata":{"openai":{"responseId":"resp_0ad6ba22a72d850f0169b31d9e6d4081909ece9ec9afb5a16d","serviceTier":"default"},"gateway":{"routing":{"originalModelId":"openai/gpt-5","resolvedProvider":"openai","resolvedProviderApiModelId":"gpt-5-2025-08-07","internalResolvedModelId":"openai:gpt-5-2025-08-07","fallbacksAvailable":["azure"],"internalReasoning":"Selected openai as preferred provider for gpt-5. 1 fallback(s) available: azure","planningReasoning":"System credentials planned for: openai, azure. Total execution order: openai(system) → azure(system)","canonicalSlug":"openai/gpt-5","finalProvider":"openai","attempts":[{"provider":"openai","internalModelId":"openai:gpt-5-2025-08-07","providerApiModelId":"gpt-5-2025-08-07","credentialType":"system","success":true,"startTime":1225313.979148,"endTime":1234121.173749,"statusCode":200,"providerResponseId":"resp_0ad6ba22a72d850f0169b31d9e6d4081909ece9ec9afb5a16d"}],"modelAttemptCount":1,"modelAttempts":[{"modelId":"openai:gpt-5-2025-08-07","canonicalSlug":"openai/gpt-5","success":true,"providerAttemptCount":1,"providerAttempts":[{"provider":"openai","internalModelId":"openai:gpt-5-2025-08-07","providerApiModelId":"gpt-5-2025-08-07","credentialType":"system","success":true,"startTime":1225313.979148,"endTime":1234121.173749,"statusCode":200,"providerResponseId":"resp_0ad6ba22a72d850f0169b31d9e6d4081909ece9ec9afb5a16d"}]}],"totalProviderAttemptCount":1},"cost":"0.00597125","marketCost":"0.00597125","generationId":"gen_01KKHTQCMWEN9M7ZV1VXWW71WF","billableWebSearchCalls":0}}},"logprobs":null,"finish_reason":"tool_calls"}],"usage":{"prompt_tokens":113,"completion_tokens":327,"total_tokens":440,"cost":0.00597125,"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":256,"image_tokens":0},"cache_creation_input_tokens":0,"market_cost":0.00597125},"system_fingerprint":"fp_08nit8hrwg","service_tier":"default","generationId":"gen_01KKHTQCMWEN9M7ZV1VXWW71WF"}'
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 8.975822542s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 3970
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_ulMqJOy9WR0LRV2ImHkmBfEX","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_nIrswpoKOV3YHDGXlLHtmWwa","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant","reasoning_details":[{"data":"gAAAAABpsx2nWz7Qu94ZCj6UtwYGAW2QCjZuEoPDGwKjlkboS7oZusjxO2Fh7ZLl7_ghBocp__aWwZhJawnamO5a_JHWRbVS51OFxWXOZt_SDVVw8ONASMqdfAXrrDcj1d9hSwSzbQun27FQN5C8fH9dY_vtICJGSN7oG5jjeoeKkcUNY926kd-uh9bh5MxJqvi9nj21ZeGW2h-vD6WLGr2RMOHt5X1vJZgaFCFfr_eeWAxjrx1t0JGokRiWKAu4eA_9PV8zwVce8ML3hB-tW0npxZ4aqVLY2du93BV_s29HoHHnylM1_KwNsYc3Uj2EmtRKU_BfQ-lDN0qpn8KysCnmJ-h1MoWM2XzLCCK1ihQGfXuQ2fJ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6a5ogag4vCIs0bHpwtbO09vPmmRwFenfmecoMd4x6J4XSZ4pmA=","format":"openai-responses-v1","id":"rs_0ad6ba22a72d850f0169b31d9f0e948190aee9b5b531ab5d35","index":0,"type":"reasoning.encrypted"}]},{"content":"5","tool_call_id":"call_ulMqJOy9WR0LRV2ImHkmBfEX","role":"tool"},{"content":"6","tool_call_id":"call_nIrswpoKOV3YHDGXlLHtmWwa","role":"tool"}],"model":"openai/gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}'
    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
    uncompressed: true
    body: '{"id":"gen_01KKHTQND2E4CWFRP9GEMWAWYR","object":"chat.completion","created":1773346216,"model":"openai/gpt-5","choices":[{"index":0,"message":{"role":"assistant","content":"Sum: 5\nProduct: 6","provider_metadata":{"openai":{"responseId":"resp_0ad6ba22a72d850f0169b31da7698c81908b7c694c708d0f7b","serviceTier":"default"},"gateway":{"routing":{"originalModelId":"openai/gpt-5","resolvedProvider":"openai","resolvedProviderApiModelId":"gpt-5-2025-08-07","internalResolvedModelId":"openai:gpt-5-2025-08-07","fallbacksAvailable":["azure"],"internalReasoning":"Selected openai as preferred provider for gpt-5. 1 fallback(s) available: azure","planningReasoning":"System credentials planned for: openai, azure. Total execution order: openai(system) → azure(system)","canonicalSlug":"openai/gpt-5","finalProvider":"openai","attempts":[{"provider":"openai","internalModelId":"openai:gpt-5-2025-08-07","providerApiModelId":"gpt-5-2025-08-07","credentialType":"system","success":true,"startTime":1267446.393779,"endTime":1268561.962042,"statusCode":200,"providerResponseId":"resp_0ad6ba22a72d850f0169b31da7698c81908b7c694c708d0f7b"}],"modelAttemptCount":1,"modelAttempts":[{"modelId":"openai:gpt-5-2025-08-07","canonicalSlug":"openai/gpt-5","success":true,"providerAttemptCount":1,"providerAttempts":[{"provider":"openai","internalModelId":"openai:gpt-5-2025-08-07","providerApiModelId":"gpt-5-2025-08-07","credentialType":"system","success":true,"startTime":1267446.393779,"endTime":1268561.962042,"statusCode":200,"providerResponseId":"resp_0ad6ba22a72d850f0169b31da7698c81908b7c694c708d0f7b"}]}],"totalProviderAttemptCount":1},"cost":"0.000685","marketCost":"0.000685","generationId":"gen_01KKHTQND2E4CWFRP9GEMWAWYR","billableWebSearchCalls":0}}},"logprobs":null,"finish_reason":"stop"}],"usage":{"prompt_tokens":444,"completion_tokens":13,"total_tokens":457,"cost":0.000685,"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.000685},"system_fingerprint":"fp_zzesij1bm1","service_tier":"default","generationId":"gen_01KKHTQND2E4CWFRP9GEMWAWYR"}'
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 1.406254958s
