mirror of
https://github.com/vxcontrol/langchaingo.git
synced 2026-08-25 11:10:02 -04:00
70 lines
2.1 KiB
Plaintext
Generated
70 lines
2.1 KiB
Plaintext
Generated
httprr trace v1
|
|
522 1652
|
|
POST https://api.openai.com/v1/chat/completions HTTP/1.1
|
|
Host: api.openai.com
|
|
User-Agent: langchaingo-httprr
|
|
Content-Length: 320
|
|
Authorization: Bearer test-api-key
|
|
Content-Type: application/json
|
|
|
|
{"model":"gpt-4.1-nano","messages":[{"role":"user","content":"answer this question what is foo? with this context \n\u003cdocument\u003e\n\u003ccontent\u003efoo is 34\u003c/content\u003e\n\n\u003c/document\u003e\n\n\n\n\u003cdocument\u003e\n\u003ccontent\u003ebar is 1\u003c/content\u003e\n\n\u003c/document\u003e\n"}]}HTTP/2.0 200 OK
|
|
Content-Length: 853
|
|
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:40 GMT
|
|
Openai-Organization: lcgo-tst
|
|
Openai-Processing-Ms: 278
|
|
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: 296
|
|
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: 149999957
|
|
X-Ratelimit-Reset-Requests: 2ms
|
|
X-Ratelimit-Reset-Tokens: 0s
|
|
X-Request-Id: req_ecc347893216478f9e885c590742f606
|
|
|
|
{
|
|
"id": "chatcmpl-D0wFn1GjEDTzuJpfoIA0R62KmLO7S",
|
|
"object": "chat.completion",
|
|
"created": 1769116299,
|
|
"model": "gpt-4.1-nano-2025-04-14",
|
|
"choices": [
|
|
{
|
|
"index": 0,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": "Based on the provided context, \"foo\" is 34.",
|
|
"refusal": null,
|
|
"annotations": []
|
|
},
|
|
"logprobs": null,
|
|
"finish_reason": "stop"
|
|
}
|
|
],
|
|
"usage": {
|
|
"prompt_tokens": 51,
|
|
"completion_tokens": 13,
|
|
"total_tokens": 64,
|
|
"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_fe84ea9799"
|
|
}
|