httprr trace v1 2253 1791 POST https://api.openai.com/v1/chat/completions HTTP/1.1 Host: api.openai.com User-Agent: langchaingo-httprr Content-Length: 2050 Authorization: Bearer test-api-key Content-Type: application/json {"model":"gpt-4o","messages":[{"role":"user","content":"Assistant is designed to be able to assist with a wide range of tasks, from answering simple questions to providing in-depth explanations and discussions on a wide range of topics. As a language model, Assistant is able to generate human-like text based on the input it receives, allowing it to engage in natural-sounding conversations and provide responses that are coherent and relevant to the topic at hand.\n\nAssistant is constantly learning and improving, and its capabilities are constantly evolving. It is able to process and understand large amounts of text, and can use this knowledge to provide accurate and informative responses to a wide range of questions. Additionally, Assistant is able to generate its own text based on the input it receives, allowing it to engage in discussions and provide explanations and descriptions on a wide range of topics.\n\nOverall, Assistant is a powerful tool that can help with a wide range of tasks and provide valuable insights and information on a wide range of topics. Whether you need help with a specific question or just want to have a conversation about a particular topic, Assistant is here to assist.\n\nTOOLS:\n------\n\nAssistant has access to the following tools:\n\n- calculator: Useful for getting the result of a math expression. \n\tThe input to this tool should be a valid mathematical expression that could be executed by a starlark evaluator.\n\n\n\nTo use a tool, please use the following format:\n\nThought: Do I need to use a tool? Yes\nAction: the action to take, should be one of [calculator]\nAction Input: the input to the action\nObservation: the result of the action\n\nWhen you have a response to say to the Human, or if you do not need to use a tool, you MUST use the format:\n\nThought: Do I need to use a tool? No\nAI: [your response here]\n\n\nBegin!\n\nPrevious conversation history:\n\n\nNew input: Hi! my name is Bob and the year I was born is 1987\n\nThought:"}],"stop":["\nObservation:","\n\tObservation:"]}HTTP/2.0 200 OK Content-Length: 993 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 11:34:14 GMT Openai-Organization: lcgo-tst Openai-Processing-Ms: 1036 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: 1282 X-Openai-Proxy-Wasm: v0.1 X-Ratelimit-Limit-Requests: 10000 X-Ratelimit-Limit-Tokens: 30000000 X-Ratelimit-Remaining-Requests: 9999 X-Ratelimit-Remaining-Tokens: 29999521 X-Ratelimit-Reset-Requests: 6ms X-Ratelimit-Reset-Tokens: 0s X-Request-Id: req_d26779296341482991e77f86e14a3ecd { "id": "chatcmpl-D0nEzzGLjPD9oe0thYzLYbeCJ3FIu", "object": "chat.completion", "created": 1769081653, "model": "gpt-4o-2024-08-06", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Do I need to use a tool? No\nAI: Hi Bob! It's nice to meet you. If you were born in 1987 and assuming the current year is 2023, that would make you 36 years old. How can I assist you today?", "refusal": null, "annotations": [] }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 393, "completion_tokens": 55, "total_tokens": 448, "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_deacdd5f6f" } 2459 1674 POST https://api.openai.com/v1/chat/completions HTTP/1.1 Host: api.openai.com User-Agent: langchaingo-httprr Content-Length: 2256 Authorization: Bearer test-api-key Content-Type: application/json {"model":"gpt-4o","messages":[{"role":"user","content":"Assistant is designed to be able to assist with a wide range of tasks, from answering simple questions to providing in-depth explanations and discussions on a wide range of topics. As a language model, Assistant is able to generate human-like text based on the input it receives, allowing it to engage in natural-sounding conversations and provide responses that are coherent and relevant to the topic at hand.\n\nAssistant is constantly learning and improving, and its capabilities are constantly evolving. It is able to process and understand large amounts of text, and can use this knowledge to provide accurate and informative responses to a wide range of questions. Additionally, Assistant is able to generate its own text based on the input it receives, allowing it to engage in discussions and provide explanations and descriptions on a wide range of topics.\n\nOverall, Assistant is a powerful tool that can help with a wide range of tasks and provide valuable insights and information on a wide range of topics. Whether you need help with a specific question or just want to have a conversation about a particular topic, Assistant is here to assist.\n\nTOOLS:\n------\n\nAssistant has access to the following tools:\n\n- calculator: Useful for getting the result of a math expression. \n\tThe input to this tool should be a valid mathematical expression that could be executed by a starlark evaluator.\n\n\n\nTo use a tool, please use the following format:\n\nThought: Do I need to use a tool? Yes\nAction: the action to take, should be one of [calculator]\nAction Input: the input to the action\nObservation: the result of the action\n\nWhen you have a response to say to the Human, or if you do not need to use a tool, you MUST use the format:\n\nThought: Do I need to use a tool? No\nAI: [your response here]\n\n\nBegin!\n\nPrevious conversation history:\nHuman: Hi! my name is Bob and the year I was born is 1987\nAI: Hi Bob! It's nice to meet you. If you were born in 1987 and assuming the current year is 2023, that would make you 36 years old. How can I assist you today?\n\nNew input: What is the year I was born times 34\n\nThought:"}],"stop":["\nObservation:","\n\tObservation:"]}HTTP/2.0 200 OK Content-Length: 877 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 11:34:16 GMT Openai-Organization: lcgo-tst Openai-Processing-Ms: 481 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: 761 X-Openai-Proxy-Wasm: v0.1 X-Ratelimit-Limit-Requests: 10000 X-Ratelimit-Limit-Tokens: 30000000 X-Ratelimit-Remaining-Requests: 9999 X-Ratelimit-Remaining-Tokens: 29999469 X-Ratelimit-Reset-Requests: 6ms X-Ratelimit-Reset-Tokens: 1ms X-Request-Id: req_c25a675b6c844e45abcc89b4d11cadb5 { "id": "chatcmpl-D0nF1TJqc0qRPqosf4FEqpZl7GtiH", "object": "chat.completion", "created": 1769081655, "model": "gpt-4o-2024-08-06", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Do I need to use a tool? Yes\nAction: calculator\nAction Input: 1987 * 34", "refusal": null, "annotations": [] }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 452, "completion_tokens": 26, "total_tokens": 478, "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_deacdd5f6f" } 2562 1706 POST https://api.openai.com/v1/chat/completions HTTP/1.1 Host: api.openai.com User-Agent: langchaingo-httprr Content-Length: 2359 Authorization: Bearer test-api-key Content-Type: application/json {"model":"gpt-4o","messages":[{"role":"user","content":"Assistant is designed to be able to assist with a wide range of tasks, from answering simple questions to providing in-depth explanations and discussions on a wide range of topics. As a language model, Assistant is able to generate human-like text based on the input it receives, allowing it to engage in natural-sounding conversations and provide responses that are coherent and relevant to the topic at hand.\n\nAssistant is constantly learning and improving, and its capabilities are constantly evolving. It is able to process and understand large amounts of text, and can use this knowledge to provide accurate and informative responses to a wide range of questions. Additionally, Assistant is able to generate its own text based on the input it receives, allowing it to engage in discussions and provide explanations and descriptions on a wide range of topics.\n\nOverall, Assistant is a powerful tool that can help with a wide range of tasks and provide valuable insights and information on a wide range of topics. Whether you need help with a specific question or just want to have a conversation about a particular topic, Assistant is here to assist.\n\nTOOLS:\n------\n\nAssistant has access to the following tools:\n\n- calculator: Useful for getting the result of a math expression. \n\tThe input to this tool should be a valid mathematical expression that could be executed by a starlark evaluator.\n\n\n\nTo use a tool, please use the following format:\n\nThought: Do I need to use a tool? Yes\nAction: the action to take, should be one of [calculator]\nAction Input: the input to the action\nObservation: the result of the action\n\nWhen you have a response to say to the Human, or if you do not need to use a tool, you MUST use the format:\n\nThought: Do I need to use a tool? No\nAI: [your response here]\n\n\nBegin!\n\nPrevious conversation history:\nHuman: Hi! my name is Bob and the year I was born is 1987\nAI: Hi Bob! It's nice to meet you. If you were born in 1987 and assuming the current year is 2023, that would make you 36 years old. How can I assist you today?\n\nNew input: What is the year I was born times 34\n\nThought:Do I need to use a tool? Yes\nAction: calculator\nAction Input: 1987 * 34\nObservation: 67558\nThought:"}],"stop":["\nObservation:","\n\tObservation:"]}HTTP/2.0 200 OK Content-Length: 909 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 11:34:18 GMT Openai-Organization: lcgo-tst Openai-Processing-Ms: 735 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: 930 X-Openai-Proxy-Wasm: v0.1 X-Ratelimit-Limit-Requests: 10000 X-Ratelimit-Limit-Tokens: 30000000 X-Ratelimit-Remaining-Requests: 9999 X-Ratelimit-Remaining-Tokens: 29999445 X-Ratelimit-Reset-Requests: 6ms X-Ratelimit-Reset-Tokens: 1ms X-Request-Id: req_4cf1530fb3c24356a184e3af20504b0e { "id": "chatcmpl-D0nF3sQgPYeZ4eRVH9PMzQP8OapLt", "object": "chat.completion", "created": 1769081657, "model": "gpt-4o-2024-08-06", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Do I need to use a tool? No\nAI: The result of multiplying the year you were born, 1987, by 34 is 67,558.", "refusal": null, "annotations": [] }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 484, "completion_tokens": 35, "total_tokens": 519, "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_deacdd5f6f" }