Files
langchaingo/chains/testdata/TestLLMChain.httprr
2026-01-24 02:07:00 +03:00

70 lines
1.9 KiB
Plaintext
Generated

httprr trace v1
296 1637
POST https://api.openai.com/v1/chat/completions HTTP/1.1
Host: api.openai.com
User-Agent: langchaingo-httprr
Content-Length: 95
Authorization: Bearer test-api-key
Content-Type: application/json
{"model":"gpt-4.1-nano","messages":[{"role":"user","content":"What is the capital of France"}]}HTTP/2.0 200 OK
Content-Length: 838
Access-Control-Expose-Headers: X-Request-ID
Alt-Svc: h3=":443"; ma=86400
Cf-Cache-Status: DYNAMIC
Content-Type: application/json
Date: Thu, 22 Jan 2026 21:11:11 GMT
Openai-Organization: lcgo-tst
Openai-Processing-Ms: 230
Openai-Project: proj_pf0r5emOzUBDExmxgmWVPVjK
Openai-Version: 2020-10-01
Server: cloudflare
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-Content-Type-Options: nosniff
X-Envoy-Upstream-Service-Time: 245
X-Openai-Proxy-Wasm: v0.1
X-Ratelimit-Limit-Requests: 30000
X-Ratelimit-Limit-Tokens: 150000000
X-Ratelimit-Remaining-Requests: 29999
X-Ratelimit-Remaining-Tokens: 149999990
X-Ratelimit-Reset-Requests: 2ms
X-Ratelimit-Reset-Tokens: 0s
X-Request-Id: req_a8c70f7698c24eb3bdf9cbdcbc6de2f7
{
"id": "chatcmpl-D0wFLXMMtBZIQ7cIVXQRv68TwOFEM",
"object": "chat.completion",
"created": 1769116271,
"model": "gpt-4.1-nano-2025-04-14",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "The capital of France is Paris.",
"refusal": null,
"annotations": []
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 13,
"completion_tokens": 7,
"total_tokens": 20,
"prompt_tokens_details": {
"cached_tokens": 0,
"audio_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 0,
"audio_tokens": 0,
"accepted_prediction_tokens": 0,
"rejected_prediction_tokens": 0
}
},
"service_tier": "default",
"system_fingerprint": "fp_7f8eb7d1f9"
}