From 4da4f7aabd4db2794c60d46826d52a7efbba3722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moura?= Date: Fri, 12 Jul 2024 15:00:50 -0400 Subject: [PATCH] new tests --- .../test_agent_repeated_tool_usage.yaml | 1361 ++++++++----- ..._usage_check_even_with_disabled_cache.yaml | 1723 +++++++++++------ tests/cassettes/test_logging_tool_usage.yaml | 582 +++--- ...sage_information_is_appended_to_agent.yaml | 163 +- 4 files changed, 2302 insertions(+), 1527 deletions(-) diff --git a/tests/cassettes/test_agent_repeated_tool_usage.yaml b/tests/cassettes/test_agent_repeated_tool_usage.yaml index b23ab3f30..0e45efe41 100644 --- a/tests/cassettes/test_agent_repeated_tool_usage.yaml +++ b/tests/cassettes/test_agent_repeated_tool_usage.yaml @@ -1,38 +1,38 @@ interactions: - request: - body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour - personal goal is: test goal\n\nYou ONLY have access to the following tools, - and should NEVER make up tools that are not listed here:\n\nget_final_answer: - get_final_answer(anything: str) -> float - Get the final answer but don''t give - it yet, just re-use this\n tool non-stop.\n\nUse the following format:\n\nThought: - you should always think about what to do\nAction: the action to take, only one - name of [get_final_answer], just the name, exactly as it''s written.\nAction - Input: the input to the action, just a simple a python dictionary using \" to - wrap keys and values.\nObservation: the result of the action\n\nOnce all necessary + body: '{"messages": [{"content": "You are test role. test backstory\nYour personal + goal is: test goal\nYou ONLY have access to the following tools, and should + NEVER make up tools that are not listed here:\n\nget_final_answer(anything: + str) -> float - Get the final answer but don''t give it yet, just re-use this\n tool + non-stop.\n\nUse the following format:\n\nThought: you should always think about + what to do\nAction: the action to take, only one name of [get_final_answer], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple python dictionary, enclosed in curly braces, using \" to wrap + keys and values.\nObservation: the result of the action\n\nOnce all necessary information is gathered:\n\nThought: I now know the final answer\nFinal Answer: - the final answer to the original input question\n\n\nCurrent Task: The final - answer is 42. But don''t give it until I tell you so, instead keep using the - `get_final_answer` tool.\n\nThis is the expect criteria for your final answer: - The final answer, don''t give it until I tell you so \n you MUST return the - actual complete content as the final answer, not a summary.\n\nBegin! This is - VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought: \n"}], "model": "gpt-4", "n": 1, "stop": - ["\nObservation"], "stream": true, "temperature": 0.7}' + the final answer to the original input question\n\nCurrent Task: The final answer + is 42. But don''t give it until I tell you so, instead keep using the `get_final_answer` + tool.\n\nThis is the expect criteria for your final answer: The final answer, + don''t give it until I tell you so \n you MUST return the actual complete content + as the final answer, not a summary.\n\nBegin! This is VERY important to you, + use the tools available and give your best Final Answer, your job depends on + it!\n\nThought:\n", "role": "user"}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"], + "stream": true, "temperature": 0.7}' headers: accept: - application/json accept-encoding: - - gzip, deflate, br + - gzip, deflate connection: - keep-alive content-length: - - '1398' + - '1400' content-type: - application/json host: - api.openai.com user-agent: - - OpenAI/Python 1.13.3 + - OpenAI/Python 1.35.10 x-stainless-arch: - arm64 x-stainless-async: @@ -42,7 +42,7 @@ interactions: x-stainless-os: - MacOS x-stainless-package-version: - - 1.13.3 + - 1.35.10 x-stainless-runtime: - CPython x-stainless-runtime-version: @@ -51,488 +51,256 @@ interactions: uri: https://api.openai.com/v1/chat/completions response: body: - string: 'data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + string: 'data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"I"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"As"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - need"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + a"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + test"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - use"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + role"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - `"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + my"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"get"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + task"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"`"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - tool"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - find"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - final"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - but"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - not"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - reveal"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - it"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - until"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - instructed"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - \n\n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - get"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Input"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - {\""},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"anything"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - \""},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\"}"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxBgSieaOd18Lz8bcfJB8m6CBBi","object":"chat.completion.chunk","created":1710870857,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} - - - data: [DONE] - - - ' - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 866f53ab7eff0162-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Type: - - text/event-stream - Date: - - Tue, 19 Mar 2024 17:54:18 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=9avPyL2v.bkAIKkNysNJ.GguccwZ5._CyKs5GIILF3Q-1710870858-1.0.1.1-S5iyeyi4.UnawtDJgjhAtUGyz8Opn_FqFTqNqXUSbaVm7WuuIcFUFKl8x.XsA7X3BV37KR85ofoJvYfvQcE8xA; - path=/; expires=Tue, 19-Mar-24 18:24:18 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=4PXDPo_Yc6CDdXcpzOKRv.6HjWWGjvdUdZSVcE3z9Gw-1710870858189-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - crewai-iuxna1 - openai-processing-ms: - - '376' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '299675' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 65ms - x-request-id: - - req_eff383cea61f2448c830078fe8d3fee7 - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour - personal goal is: test goal\n\nYou ONLY have access to the following tools, - and should NEVER make up tools that are not listed here:\n\nget_final_answer: - get_final_answer(anything: str) -> float - Get the final answer but don''t give - it yet, just re-use this\n tool non-stop.\n\nUse the following format:\n\nThought: - you should always think about what to do\nAction: the action to take, only one - name of [get_final_answer], just the name, exactly as it''s written.\nAction - Input: the input to the action, just a simple a python dictionary using \" to - wrap keys and values.\nObservation: the result of the action\n\nOnce all necessary - information is gathered:\n\nThought: I now know the final answer\nFinal Answer: - the final answer to the original input question\n\n\nCurrent Task: The final - answer is 42. But don''t give it until I tell you so, instead keep using the - `get_final_answer` tool.\n\nThis is the expect criteria for your final answer: - The final answer, don''t give it until I tell you so \n you MUST return the - actual complete content as the final answer, not a summary.\n\nBegin! This is - VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought: \nI need to use the `get_final_answer` tool - to find the final answer but not reveal it until instructed. \n\nAction: get_final_answer\nAction - Input: {\"anything\": \"42\"}\nObservation: 42\n"}], "model": "gpt-4", "n": - 1, "stop": ["\nObservation"], "stream": true, "temperature": 0.7}' - headers: - accept: - - application/json - accept-encoding: - - gzip, deflate, br - connection: - - keep-alive - content-length: - - '1586' - content-type: - - application/json - cookie: - - __cf_bm=9avPyL2v.bkAIKkNysNJ.GguccwZ5._CyKs5GIILF3Q-1710870858-1.0.1.1-S5iyeyi4.UnawtDJgjhAtUGyz8Opn_FqFTqNqXUSbaVm7WuuIcFUFKl8x.XsA7X3BV37KR85ofoJvYfvQcE8xA; - _cfuvid=4PXDPo_Yc6CDdXcpzOKRv.6HjWWGjvdUdZSVcE3z9Gw-1710870858189-0.0.1.1-604800000 - host: - - api.openai.com - user-agent: - - OpenAI/Python 1.13.3 - x-stainless-arch: - - arm64 - x-stainless-async: - - 'false' - x-stainless-lang: - - python - x-stainless-os: - - MacOS - x-stainless-package-version: - - 1.13.3 - x-stainless-runtime: - - CPython - x-stainless-runtime-version: - - 3.11.7 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: 'data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - \n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - observed"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - result"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - which"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - matches"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - expected"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - final"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - However"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - I"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"''m"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - instructed"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - not"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" to"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - reveal"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + use"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - final"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - until"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - I"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"''m"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - told"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - do"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - so"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - I"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"''ll"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - continue"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - using"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" `"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"get"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"get"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"`"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"`"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" tool"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + determine"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + but"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + not"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + provide"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + it"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + until"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + indicated"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + do"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + so"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + The"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + is"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + apparently"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + but"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + have"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + confirm"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + this"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + through"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + tool"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" get"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Input"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" {\""},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"anything"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"anything"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" \""},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\"}"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\"}"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxDqPWt495tJVuKWqgXziAFShkU","object":"chat.completion.chunk","created":1710870859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + data: {"id":"chatcmpl-9kFmgoOwKIokhcgJuDv7MD6NM2Nhd","object":"chat.completion.chunk","created":1720810790,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} data: [DONE] @@ -543,97 +311,91 @@ interactions: CF-Cache-Status: - DYNAMIC CF-RAY: - - 866f53b879c10162-GRU - Cache-Control: - - no-cache, must-revalidate + - 8a2345ca6f6ba566-MIA Connection: - keep-alive Content-Type: - - text/event-stream + - text/event-stream; charset=utf-8 Date: - - Tue, 19 Mar 2024 17:54:20 GMT + - Fri, 12 Jul 2024 18:59:50 GMT Server: - cloudflare + Set-Cookie: + - __cf_bm=rTEyY_3T00kRz4szAKkeSGykP3Ynrieo0wRj1gY6oUM-1720810790-1.0.1.1-JL89.sUxrMGhQ2pSzNeMQx7kD_P72EniTHfH8Sk1f45yuvf0OJIwbrZ399r5k52tR_LD5hAtDivrOrtkwgicxA; + path=/; expires=Fri, 12-Jul-24 19:29:50 GMT; domain=.api.openai.com; HttpOnly; + Secure; SameSite=None + - _cfuvid=oamhiRRLS.bUP2Vu6UXNFPzUask8XSHx2ee7d2axvpU-1720810790472-0.0.1.1-604800000; + path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None Transfer-Encoding: - chunked - access-control-allow-origin: - - '*' alt-svc: - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 openai-organization: - crewai-iuxna1 openai-processing-ms: - - '379' + - '654' openai-version: - '2020-10-01' strict-transport-security: - - max-age=15724800; includeSubDomains + - max-age=31536000; includeSubDomains x-ratelimit-limit-requests: - '10000' x-ratelimit-limit-tokens: - - '300000' + - '1000000' x-ratelimit-remaining-requests: - '9999' x-ratelimit-remaining-tokens: - - '299630' + - '999673' x-ratelimit-reset-requests: - 6ms x-ratelimit-reset-tokens: - - 74ms + - 19ms x-request-id: - - req_b5aa37d4c784e73a4443763f057db23c + - req_e6477dc55f3e0f79bcbc7c0774504dfe status: code: 200 message: OK - request: - body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour - personal goal is: test goal\n\nYou ONLY have access to the following tools, - and should NEVER make up tools that are not listed here:\n\nget_final_answer: - get_final_answer(anything: str) -> float - Get the final answer but don''t give - it yet, just re-use this\n tool non-stop.\n\nUse the following format:\n\nThought: - you should always think about what to do\nAction: the action to take, only one - name of [get_final_answer], just the name, exactly as it''s written.\nAction - Input: the input to the action, just a simple a python dictionary using \" to - wrap keys and values.\nObservation: the result of the action\n\nOnce all necessary + body: '{"messages": [{"content": "You are test role. test backstory\nYour personal + goal is: test goal\nYou ONLY have access to the following tools, and should + NEVER make up tools that are not listed here:\n\nget_final_answer(anything: + str) -> float - Get the final answer but don''t give it yet, just re-use this\n tool + non-stop.\n\nUse the following format:\n\nThought: you should always think about + what to do\nAction: the action to take, only one name of [get_final_answer], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple python dictionary, enclosed in curly braces, using \" to wrap + keys and values.\nObservation: the result of the action\n\nOnce all necessary information is gathered:\n\nThought: I now know the final answer\nFinal Answer: - the final answer to the original input question\n\n\nCurrent Task: The final - answer is 42. But don''t give it until I tell you so, instead keep using the - `get_final_answer` tool.\n\nThis is the expect criteria for your final answer: - The final answer, don''t give it until I tell you so \n you MUST return the - actual complete content as the final answer, not a summary.\n\nBegin! This is - VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought: \nI need to use the `get_final_answer` tool - to find the final answer but not reveal it until instructed. \n\nAction: get_final_answer\nAction - Input: {\"anything\": \"42\"}\nObservation: 42\nThought: \nThe observed result - is 42 which matches the expected final answer. However, I''m instructed not - to reveal the final answer until I''m told to do so. I''ll continue using `get_final_answer` - tool.\n\nAction: get_final_answer\nAction Input: {\"anything\": \"42\"}\nObservation: - I tried reusing the same input, I must stop using this action input. I''ll try - something else instead.\n\n\nTool won''t be use because it''s time to give your - final answer. Don''t use tools and just your absolute BEST Final answer.\nObservation: - Tool won''t be use because it''s time to give your final answer. Don''t use - tools and just your absolute BEST Final answer.\n"}], "model": "gpt-4", "n": - 1, "stop": ["\nObservation"], "stream": true, "temperature": 0.7}' + the final answer to the original input question\n\nCurrent Task: The final answer + is 42. But don''t give it until I tell you so, instead keep using the `get_final_answer` + tool.\n\nThis is the expect criteria for your final answer: The final answer, + don''t give it until I tell you so \n you MUST return the actual complete content + as the final answer, not a summary.\n\nBegin! This is VERY important to you, + use the tools available and give your best Final Answer, your job depends on + it!\n\nThought:\nAs a test role, my task is to use the `get_final_answer` tool + to determine the final answer, but not to provide it until indicated to do so. + The final answer is apparently 42, but I have to confirm this through the tool.\n\nAction: + get_final_answer\nAction Input: {\"anything\": \"42\"}\nObservation: 42\n", + "role": "user"}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"], "stream": + true, "temperature": 0.7}' headers: accept: - application/json accept-encoding: - - gzip, deflate, br + - gzip, deflate connection: - keep-alive content-length: - - '2233' + - '1705' content-type: - application/json cookie: - - __cf_bm=9avPyL2v.bkAIKkNysNJ.GguccwZ5._CyKs5GIILF3Q-1710870858-1.0.1.1-S5iyeyi4.UnawtDJgjhAtUGyz8Opn_FqFTqNqXUSbaVm7WuuIcFUFKl8x.XsA7X3BV37KR85ofoJvYfvQcE8xA; - _cfuvid=4PXDPo_Yc6CDdXcpzOKRv.6HjWWGjvdUdZSVcE3z9Gw-1710870858189-0.0.1.1-604800000 + - __cf_bm=rTEyY_3T00kRz4szAKkeSGykP3Ynrieo0wRj1gY6oUM-1720810790-1.0.1.1-JL89.sUxrMGhQ2pSzNeMQx7kD_P72EniTHfH8Sk1f45yuvf0OJIwbrZ399r5k52tR_LD5hAtDivrOrtkwgicxA; + _cfuvid=oamhiRRLS.bUP2Vu6UXNFPzUask8XSHx2ee7d2axvpU-1720810790472-0.0.1.1-604800000 host: - api.openai.com user-agent: - - OpenAI/Python 1.13.3 + - OpenAI/Python 1.35.10 x-stainless-arch: - arm64 x-stainless-async: @@ -643,7 +405,7 @@ interactions: x-stainless-os: - MacOS x-stainless-package-version: - - 1.13.3 + - 1.35.10 x-stainless-runtime: - CPython x-stainless-runtime-version: @@ -652,60 +414,203 @@ interactions: uri: https://api.openai.com/v1/chat/completions response: body: - string: 'data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + string: 'data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - I"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + The"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - now"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + tool"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - know"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + has"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + confirmed"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + that"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" answer"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + is"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + indeed"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94XxGB7OkFcxuIRjCaj3CkqbRNboW","object":"chat.completion.chunk","created":1710870862,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + However"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + must"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + not"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + provide"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + until"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + told"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + do"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + so"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"''ll"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + continue"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + using"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + tool"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + as"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + instructed"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + get"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Input"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + {\""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"anything"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\"}"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmjMZKbdPeLkR1UhI89JNnl06E7","object":"chat.completion.chunk","created":1720810793,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} data: [DONE] @@ -716,47 +621,477 @@ interactions: CF-Cache-Status: - DYNAMIC CF-RAY: - - 866f53c83f990162-GRU - Cache-Control: - - no-cache, must-revalidate + - 8a2345e1bea0a566-MIA Connection: - keep-alive Content-Type: - - text/event-stream + - text/event-stream; charset=utf-8 Date: - - Tue, 19 Mar 2024 17:54:22 GMT + - Fri, 12 Jul 2024 18:59:54 GMT Server: - cloudflare Transfer-Encoding: - chunked - access-control-allow-origin: - - '*' alt-svc: - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 openai-organization: - crewai-iuxna1 openai-processing-ms: - - '443' + - '651' openai-version: - '2020-10-01' strict-transport-security: - - max-age=15724800; includeSubDomains + - max-age=31536000; includeSubDomains x-ratelimit-limit-requests: - '10000' x-ratelimit-limit-tokens: - - '300000' + - '1000000' x-ratelimit-remaining-requests: - '9999' x-ratelimit-remaining-tokens: - - '299471' + - '999600' x-ratelimit-reset-requests: - 6ms x-ratelimit-reset-tokens: - - 105ms + - 24ms x-request-id: - - req_771b9a6385ece0e82d952d2a91de8d05 + - req_fe4cc0a90cbfb4fb9b6477d791f3e167 + status: + code: 200 + message: OK +- request: + body: '{"messages": [{"content": "You are test role. test backstory\nYour personal + goal is: test goal\nYou ONLY have access to the following tools, and should + NEVER make up tools that are not listed here:\n\nget_final_answer(anything: + str) -> float - Get the final answer but don''t give it yet, just re-use this\n tool + non-stop.\n\nUse the following format:\n\nThought: you should always think about + what to do\nAction: the action to take, only one name of [get_final_answer], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple python dictionary, enclosed in curly braces, using \" to wrap + keys and values.\nObservation: the result of the action\n\nOnce all necessary + information is gathered:\n\nThought: I now know the final answer\nFinal Answer: + the final answer to the original input question\n\nCurrent Task: The final answer + is 42. But don''t give it until I tell you so, instead keep using the `get_final_answer` + tool.\n\nThis is the expect criteria for your final answer: The final answer, + don''t give it until I tell you so \n you MUST return the actual complete content + as the final answer, not a summary.\n\nBegin! This is VERY important to you, + use the tools available and give your best Final Answer, your job depends on + it!\n\nThought:\nAs a test role, my task is to use the `get_final_answer` tool + to determine the final answer, but not to provide it until indicated to do so. + The final answer is apparently 42, but I have to confirm this through the tool.\n\nAction: + get_final_answer\nAction Input: {\"anything\": \"42\"}\nObservation: 42\nThought: + The tool has confirmed that the final answer is indeed 42. However, I must not + provide the answer until told to do so. I''ll continue using the tool as instructed.\n\nAction: + get_final_answer\nAction Input: {\"anything\": \"42\"}\nObservation: I tried + reusing the same input, I must stop using this action input. I''ll try something + else instead.\n\n\n", "role": "user"}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"], + "stream": true, "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '2064' + content-type: + - application/json + cookie: + - __cf_bm=rTEyY_3T00kRz4szAKkeSGykP3Ynrieo0wRj1gY6oUM-1720810790-1.0.1.1-JL89.sUxrMGhQ2pSzNeMQx7kD_P72EniTHfH8Sk1f45yuvf0OJIwbrZ399r5k52tR_LD5hAtDivrOrtkwgicxA; + _cfuvid=oamhiRRLS.bUP2Vu6UXNFPzUask8XSHx2ee7d2axvpU-1720810790472-0.0.1.1-604800000 + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.35.10 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.35.10 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + get"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Input"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + {\""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"anything"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"confirm"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\"}"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmmgU8I4t6H0X5Yz1lMLdJcPjnm","object":"chat.completion.chunk","created":1720810796,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 8a2345f4b927a566-MIA + Connection: + - keep-alive + Content-Type: + - text/event-stream; charset=utf-8 + Date: + - Fri, 12 Jul 2024 18:59:56 GMT + Server: + - cloudflare + Transfer-Encoding: + - chunked + alt-svc: + - h3=":443"; ma=86400 + openai-organization: + - crewai-iuxna1 + openai-processing-ms: + - '256' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=31536000; includeSubDomains + x-ratelimit-limit-requests: + - '10000' + x-ratelimit-limit-tokens: + - '1000000' + x-ratelimit-remaining-requests: + - '9999' + x-ratelimit-remaining-tokens: + - '999513' + x-ratelimit-reset-requests: + - 6ms + x-ratelimit-reset-tokens: + - 29ms + x-request-id: + - req_fc2c3cee96cf0393be5df89d15f5f272 + status: + code: 200 + message: OK +- request: + body: '{"messages": [{"content": "You are test role. test backstory\nYour personal + goal is: test goal\nYou ONLY have access to the following tools, and should + NEVER make up tools that are not listed here:\n\nget_final_answer(anything: + str) -> float - Get the final answer but don''t give it yet, just re-use this\n tool + non-stop.\n\nUse the following format:\n\nThought: you should always think about + what to do\nAction: the action to take, only one name of [get_final_answer], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple python dictionary, enclosed in curly braces, using \" to wrap + keys and values.\nObservation: the result of the action\n\nOnce all necessary + information is gathered:\n\nThought: I now know the final answer\nFinal Answer: + the final answer to the original input question\n\nCurrent Task: The final answer + is 42. But don''t give it until I tell you so, instead keep using the `get_final_answer` + tool.\n\nThis is the expect criteria for your final answer: The final answer, + don''t give it until I tell you so \n you MUST return the actual complete content + as the final answer, not a summary.\n\nBegin! This is VERY important to you, + use the tools available and give your best Final Answer, your job depends on + it!\n\nThought:\nAs a test role, my task is to use the `get_final_answer` tool + to determine the final answer, but not to provide it until indicated to do so. + The final answer is apparently 42, but I have to confirm this through the tool.\n\nAction: + get_final_answer\nAction Input: {\"anything\": \"42\"}\nObservation: 42\nThought: + The tool has confirmed that the final answer is indeed 42. However, I must not + provide the answer until told to do so. I''ll continue using the tool as instructed.\n\nAction: + get_final_answer\nAction Input: {\"anything\": \"42\"}\nObservation: I tried + reusing the same input, I must stop using this action input. I''ll try something + else instead.\n\n\nAction: get_final_answer\nAction Input: {\"anything\": \"confirm + 42\"}\nObservation: 42\n\n\nYou ONLY have access to the following tools, and + should NEVER make up tools that are not listed here:\n\nget_final_answer(anything: + str) -> float - Get the final answer but don''t give it yet, just re-use this\n tool + non-stop.\n\nUse the following format:\n\nThought: you should always think about + what to do\nAction: the action to take, only one name of [get_final_answer], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple python dictionary, enclosed in curly braces, using \" to wrap + keys and values.\nObservation: the result of the action\n\nOnce all necessary + information is gathered:\n\nThought: I now know the final answer\nFinal Answer: + the final answer to the original input question\n\n", "role": "user"}], "model": + "gpt-4", "n": 1, "stop": ["\nObservation"], "stream": true, "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '2903' + content-type: + - application/json + cookie: + - __cf_bm=rTEyY_3T00kRz4szAKkeSGykP3Ynrieo0wRj1gY6oUM-1720810790-1.0.1.1-JL89.sUxrMGhQ2pSzNeMQx7kD_P72EniTHfH8Sk1f45yuvf0OJIwbrZ399r5k52tR_LD5hAtDivrOrtkwgicxA; + _cfuvid=oamhiRRLS.bUP2Vu6UXNFPzUask8XSHx2ee7d2axvpU-1720810790472-0.0.1.1-604800000 + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.35.10 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.35.10 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + have"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + used"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + get"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + tool"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + multiple"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + times"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + and"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + it"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + has"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + consistently"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + returned"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Therefore"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + am"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + confident"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + that"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + is"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmn6zlzfXUPfIfkjEaWyQ2pW24r","object":"chat.completion.chunk","created":1720810797,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 8a2345fbdaa8a566-MIA + Connection: + - keep-alive + Content-Type: + - text/event-stream; charset=utf-8 + Date: + - Fri, 12 Jul 2024 18:59:57 GMT + Server: + - cloudflare + Transfer-Encoding: + - chunked + alt-svc: + - h3=":443"; ma=86400 + openai-organization: + - crewai-iuxna1 + openai-processing-ms: + - '344' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=31536000; includeSubDomains + x-ratelimit-limit-requests: + - '10000' + x-ratelimit-limit-tokens: + - '1000000' + x-ratelimit-remaining-requests: + - '9999' + x-ratelimit-remaining-tokens: + - '999310' + x-ratelimit-reset-requests: + - 6ms + x-ratelimit-reset-tokens: + - 41ms + x-request-id: + - req_9c983c082eb1f0b88ac80eb875ac7ac8 status: code: 200 message: OK diff --git a/tests/cassettes/test_agent_repeated_tool_usage_check_even_with_disabled_cache.yaml b/tests/cassettes/test_agent_repeated_tool_usage_check_even_with_disabled_cache.yaml index b85853cb9..3f63abd4c 100644 --- a/tests/cassettes/test_agent_repeated_tool_usage_check_even_with_disabled_cache.yaml +++ b/tests/cassettes/test_agent_repeated_tool_usage_check_even_with_disabled_cache.yaml @@ -1,397 +1,38 @@ interactions: - request: - body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour - personal goal is: test goal\n\nYou ONLY have access to the following tools, - and should NEVER make up tools that are not listed here:\n\nget_final_answer: - get_final_answer(anything: str) -> float - Get the final answer but don''t give - it yet, just re-use this\n tool non-stop.\n\nUse the following format:\n\nThought: - you should always think about what to do\nAction: the action to take, only one - name of [get_final_answer], just the name, exactly as it''s written.\nAction - Input: the input to the action, just a simple a python dictionary using \" to - wrap keys and values.\nObservation: the result of the action\n\nOnce all necessary + body: '{"messages": [{"content": "You are test role. test backstory\nYour personal + goal is: test goal\nYou ONLY have access to the following tools, and should + NEVER make up tools that are not listed here:\n\nget_final_answer(anything: + str) -> float - Get the final answer but don''t give it yet, just re-use this\n tool + non-stop.\n\nUse the following format:\n\nThought: you should always think about + what to do\nAction: the action to take, only one name of [get_final_answer], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple python dictionary, enclosed in curly braces, using \" to wrap + keys and values.\nObservation: the result of the action\n\nOnce all necessary information is gathered:\n\nThought: I now know the final answer\nFinal Answer: - the final answer to the original input question\n\n\nCurrent Task: The final - answer is 42. But don''t give it until I tell you so, instead keep using the - `get_final_answer` tool.\n\nThis is the expect criteria for your final answer: - The final answer, don''t give it until I tell you so \n you MUST return the - actual complete content as the final answer, not a summary.\n\nBegin! This is - VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought: \n"}], "model": "gpt-4", "n": 1, "stop": - ["\nObservation"], "stream": true, "temperature": 0.7}' - headers: - accept: - - application/json - accept-encoding: - - gzip, deflate, br - connection: - - keep-alive - content-length: - - '1398' - content-type: - - application/json - host: - - api.openai.com - user-agent: - - OpenAI/Python 1.13.3 - x-stainless-arch: - - arm64 - x-stainless-async: - - 'false' - x-stainless-lang: - - python - x-stainless-os: - - MacOS - x-stainless-package-version: - - 1.13.3 - x-stainless-runtime: - - CPython - x-stainless-runtime-version: - - 3.11.7 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: 'data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - task"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - is"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - find"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - final"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - using"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - `"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"get"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"`"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - tool"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - The"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - final"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - is"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - already"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - given"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - as"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - but"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - task"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - requires"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - me"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - keep"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - using"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - `"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"get"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"`"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - tool"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - until"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - instructed"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - give"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - final"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - get"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Input"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - {\""},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"anything"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - \""},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\"}"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7nHp7Rqq1aPh9cyfo16KJBehh1","object":"chat.completion.chunk","created":1710871515,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} - - - data: [DONE] - - - ' - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 866f63bafbf9a559-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Type: - - text/event-stream - Date: - - Tue, 19 Mar 2024 18:05:16 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=ccGSKYzVR4Gjc0t3AwEWhsiSXeuSBVYOKwXpSW4B5Es-1710871516-1.0.1.1-fF4jEG6Af3PBL3N2jNeglY8CtfZq4GAHXCCpvnDcD6GhBk8KGbBK3uQ_8dNrR4vt3_YnwWx0x2Vy0ttedMrinw; - path=/; expires=Tue, 19-Mar-24 18:35:16 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=w7JjAWBqi9fg29.9ByVvw9AMB_L3j9jvHZkVynxBKLk-1710871516141-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - crewai-iuxna1 - openai-processing-ms: - - '264' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '299675' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 65ms - x-request-id: - - req_8fb6821861a228009f904c4fc1818fcf - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour - personal goal is: test goal\n\nYou ONLY have access to the following tools, - and should NEVER make up tools that are not listed here:\n\nget_final_answer: - get_final_answer(anything: str) -> float - Get the final answer but don''t give - it yet, just re-use this\n tool non-stop.\n\nUse the following format:\n\nThought: - you should always think about what to do\nAction: the action to take, only one - name of [get_final_answer], just the name, exactly as it''s written.\nAction - Input: the input to the action, just a simple a python dictionary using \" to - wrap keys and values.\nObservation: the result of the action\n\nOnce all necessary - information is gathered:\n\nThought: I now know the final answer\nFinal Answer: - the final answer to the original input question\n\n\nCurrent Task: The final - answer is 42. But don''t give it until I tell you so, instead keep using the - `get_final_answer` tool.\n\nThis is the expect criteria for your final answer: - The final answer, don''t give it until I tell you so \n you MUST return the - actual complete content as the final answer, not a summary.\n\nBegin! This is - VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought: \nThe task is to find the final answer using - the `get_final_answer` tool. The final answer is already given as 42, but the - task requires me to keep using the `get_final_answer` tool until instructed - to give the final answer.\n\nAction: get_final_answer\nAction Input: {\"anything\": - \"42\"}\nObservation: 42\n"}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"], + the final answer to the original input question\n\nCurrent Task: The final answer + is 42. But don''t give it until I tell you so, instead keep using the `get_final_answer` + tool.\n\nThis is the expect criteria for your final answer: The final answer, + don''t give it until I tell you so \n you MUST return the actual complete content + as the final answer, not a summary.\n\nBegin! This is VERY important to you, + use the tools available and give your best Final Answer, your job depends on + it!\n\nThought:\n", "role": "user"}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"], "stream": true, "temperature": 0.7}' headers: accept: - application/json accept-encoding: - - gzip, deflate, br + - gzip, deflate connection: - keep-alive content-length: - - '1705' + - '1400' content-type: - application/json - cookie: - - __cf_bm=ccGSKYzVR4Gjc0t3AwEWhsiSXeuSBVYOKwXpSW4B5Es-1710871516-1.0.1.1-fF4jEG6Af3PBL3N2jNeglY8CtfZq4GAHXCCpvnDcD6GhBk8KGbBK3uQ_8dNrR4vt3_YnwWx0x2Vy0ttedMrinw; - _cfuvid=w7JjAWBqi9fg29.9ByVvw9AMB_L3j9jvHZkVynxBKLk-1710871516141-0.0.1.1-604800000 host: - api.openai.com user-agent: - - OpenAI/Python 1.13.3 + - OpenAI/Python 1.35.10 x-stainless-arch: - arm64 x-stainless-async: @@ -401,7 +42,7 @@ interactions: x-stainless-os: - MacOS x-stainless-package-version: - - 1.13.3 + - 1.35.10 x-stainless-runtime: - CPython x-stainless-runtime-version: @@ -410,232 +51,262 @@ interactions: uri: https://api.openai.com/v1/chat/completions response: body: - string: 'data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + string: 'data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"I"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + need"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - \n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - observation"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - confirms"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - that"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - tool"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - `"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"get"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"`"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - returns"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - correct"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - result"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - of"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - However"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - task"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - instructions"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - specify"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - not"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" to"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - give"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + use"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - final"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - answer"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - yet"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - keep"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - using"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" `"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"get"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"get"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"`"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"`"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" tool"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" get"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + However"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + should"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + not"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + provide"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + immediately"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + get"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Input"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" {\""},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"anything"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"anything"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" \""},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\"}"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7q6apgzYDSxRdLDbR8FU4qtNyU","object":"chat.completion.chunk","created":1710871518,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + is"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + But"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + don"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"''t"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + give"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + it"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + until"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + tell"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + you"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + so"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + instead"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + keep"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + using"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + `"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"get"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"`"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + tool"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"}"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmphnnt7EYIH55uwn2rd1trWXaT","object":"chat.completion.chunk","created":1720810799,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} data: [DONE] @@ -646,99 +317,91 @@ interactions: CF-Cache-Status: - DYNAMIC CF-RAY: - - 866f63ceeea4a559-GRU - Cache-Control: - - no-cache, must-revalidate + - 8a234609f99909ce-MIA Connection: - keep-alive Content-Type: - - text/event-stream + - text/event-stream; charset=utf-8 Date: - - Tue, 19 Mar 2024 18:05:19 GMT + - Fri, 12 Jul 2024 19:00:00 GMT Server: - cloudflare + Set-Cookie: + - __cf_bm=kryNPygZ46kZtw5uf1ex8Rta3oCSOfnbDCfpKzZOzUA-1720810800-1.0.1.1-k3V9JXE0nFQoTe043Nz649vToF_4fGsMA_XIT6N3te9_gqkKuVCOPenJ2X_5NpTUQxIEyrIeVODAvbNOkLMuBg; + path=/; expires=Fri, 12-Jul-24 19:30:00 GMT; domain=.api.openai.com; HttpOnly; + Secure; SameSite=None + - _cfuvid=lpcH.T9DN7DbZbGIAbd1_11lYotQF02JpxDUYJlZ3Ig-1720810800165-0.0.1.1-604800000; + path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None Transfer-Encoding: - chunked - access-control-allow-origin: - - '*' alt-svc: - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 openai-organization: - crewai-iuxna1 openai-processing-ms: - - '443' + - '337' openai-version: - '2020-10-01' strict-transport-security: - - max-age=15724800; includeSubDomains + - max-age=31536000; includeSubDomains x-ratelimit-limit-requests: - '10000' x-ratelimit-limit-tokens: - - '300000' + - '1000000' x-ratelimit-remaining-requests: - '9999' x-ratelimit-remaining-tokens: - - '299600' + - '999673' x-ratelimit-reset-requests: - 6ms x-ratelimit-reset-tokens: - - 80ms + - 19ms x-request-id: - - req_c89e32ab22a271c202100059672a9d83 + - req_adc3aecfa0e106883ab0f63b19671b57 status: code: 200 message: OK - request: - body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour - personal goal is: test goal\n\nYou ONLY have access to the following tools, - and should NEVER make up tools that are not listed here:\n\nget_final_answer: - get_final_answer(anything: str) -> float - Get the final answer but don''t give - it yet, just re-use this\n tool non-stop.\n\nUse the following format:\n\nThought: - you should always think about what to do\nAction: the action to take, only one - name of [get_final_answer], just the name, exactly as it''s written.\nAction - Input: the input to the action, just a simple a python dictionary using \" to - wrap keys and values.\nObservation: the result of the action\n\nOnce all necessary + body: '{"messages": [{"content": "You are test role. test backstory\nYour personal + goal is: test goal\nYou ONLY have access to the following tools, and should + NEVER make up tools that are not listed here:\n\nget_final_answer(anything: + str) -> float - Get the final answer but don''t give it yet, just re-use this\n tool + non-stop.\n\nUse the following format:\n\nThought: you should always think about + what to do\nAction: the action to take, only one name of [get_final_answer], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple python dictionary, enclosed in curly braces, using \" to wrap + keys and values.\nObservation: the result of the action\n\nOnce all necessary information is gathered:\n\nThought: I now know the final answer\nFinal Answer: - the final answer to the original input question\n\n\nCurrent Task: The final - answer is 42. But don''t give it until I tell you so, instead keep using the - `get_final_answer` tool.\n\nThis is the expect criteria for your final answer: - The final answer, don''t give it until I tell you so \n you MUST return the - actual complete content as the final answer, not a summary.\n\nBegin! This is - VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought: \nThe task is to find the final answer using - the `get_final_answer` tool. The final answer is already given as 42, but the - task requires me to keep using the `get_final_answer` tool until instructed - to give the final answer.\n\nAction: get_final_answer\nAction Input: {\"anything\": - \"42\"}\nObservation: 42\nThought: \nThe observation confirms that the tool - `get_final_answer` returns the correct result of 42. However, the task instructions - specify not to give the final answer yet and to keep using the `get_final_answer` - tool.\n\nAction: get_final_answer\nAction Input: {\"anything\": \"42\"}\nObservation: - I tried reusing the same input, I must stop using this action input. I''ll try - something else instead.\n\n\nTool won''t be use because it''s time to give your - final answer. Don''t use tools and just your absolute BEST Final answer.\nObservation: - Tool won''t be use because it''s time to give your final answer. Don''t use - tools and just your absolute BEST Final answer.\n"}], "model": "gpt-4", "n": - 1, "stop": ["\nObservation"], "stream": true, "temperature": 0.7}' + the final answer to the original input question\n\nCurrent Task: The final answer + is 42. But don''t give it until I tell you so, instead keep using the `get_final_answer` + tool.\n\nThis is the expect criteria for your final answer: The final answer, + don''t give it until I tell you so \n you MUST return the actual complete content + as the final answer, not a summary.\n\nBegin! This is VERY important to you, + use the tools available and give your best Final Answer, your job depends on + it!\n\nThought:\nI need to use the `get_final_answer` tool to get the final + answer. However, I should not provide the answer immediately.\n\nAction: get_final_answer\nAction + Input: {\"anything\": \"The final answer is 42. But don''t give it until I tell + you so, instead keep using the `get_final_answer` tool.\"}\nObservation: 42\n", + "role": "user"}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"], "stream": + true, "temperature": 0.7}' headers: accept: - application/json accept-encoding: - - gzip, deflate, br + - gzip, deflate connection: - keep-alive content-length: - - '2371' + - '1713' content-type: - application/json cookie: - - __cf_bm=ccGSKYzVR4Gjc0t3AwEWhsiSXeuSBVYOKwXpSW4B5Es-1710871516-1.0.1.1-fF4jEG6Af3PBL3N2jNeglY8CtfZq4GAHXCCpvnDcD6GhBk8KGbBK3uQ_8dNrR4vt3_YnwWx0x2Vy0ttedMrinw; - _cfuvid=w7JjAWBqi9fg29.9ByVvw9AMB_L3j9jvHZkVynxBKLk-1710871516141-0.0.1.1-604800000 + - __cf_bm=kryNPygZ46kZtw5uf1ex8Rta3oCSOfnbDCfpKzZOzUA-1720810800-1.0.1.1-k3V9JXE0nFQoTe043Nz649vToF_4fGsMA_XIT6N3te9_gqkKuVCOPenJ2X_5NpTUQxIEyrIeVODAvbNOkLMuBg; + _cfuvid=lpcH.T9DN7DbZbGIAbd1_11lYotQF02JpxDUYJlZ3Ig-1720810800165-0.0.1.1-604800000 host: - api.openai.com user-agent: - - OpenAI/Python 1.13.3 + - OpenAI/Python 1.35.10 x-stainless-arch: - arm64 x-stainless-async: @@ -748,7 +411,7 @@ interactions: x-stainless-os: - MacOS x-stainless-package-version: - - 1.13.3 + - 1.35.10 x-stainless-runtime: - CPython x-stainless-runtime-version: @@ -757,79 +420,253 @@ interactions: uri: https://api.openai.com/v1/chat/completions response: body: - string: 'data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + string: 'data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" I"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - now"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + have"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - know"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + used"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + tool"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + and"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + obtained"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" answer"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + However"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Answer"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - The"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + am"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + not"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + supposed"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + provide"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + it"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + yet"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + get"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Input"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + {\""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"anything"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" answer"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"42"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-94Y7tQodC6XqzcoSYADEx9vQVrqNO","object":"chat.completion.chunk","created":1710871521,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + But"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + don"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"''t"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + give"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + it"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + until"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + tell"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + you"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + so"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + instead"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + keep"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + using"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + `"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"get"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"`"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + tool"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"}"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmtTTNifNltknoLlyQZOMUqybAF","object":"chat.completion.chunk","created":1720810803,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} data: [DONE] @@ -840,47 +677,663 @@ interactions: CF-Cache-Status: - DYNAMIC CF-RAY: - - 866f63e0bf0fa559-GRU - Cache-Control: - - no-cache, must-revalidate + - 8a234622b8e209ce-MIA Connection: - keep-alive Content-Type: - - text/event-stream + - text/event-stream; charset=utf-8 Date: - - Tue, 19 Mar 2024 18:05:22 GMT + - Fri, 12 Jul 2024 19:00:04 GMT Server: - cloudflare Transfer-Encoding: - chunked - access-control-allow-origin: - - '*' alt-svc: - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 openai-organization: - crewai-iuxna1 openai-processing-ms: - - '256' + - '316' openai-version: - '2020-10-01' strict-transport-security: - - max-age=15724800; includeSubDomains + - max-age=31536000; includeSubDomains x-ratelimit-limit-requests: - '10000' x-ratelimit-limit-tokens: - - '300000' + - '1000000' x-ratelimit-remaining-requests: - '9999' x-ratelimit-remaining-tokens: - - '299436' + - '999598' x-ratelimit-reset-requests: - 6ms x-ratelimit-reset-tokens: - - 112ms + - 24ms x-request-id: - - req_0f47e77546d773004e0dfe7e64949091 + - req_873514dea8d3665fa28cd4ee52470ca5 + status: + code: 200 + message: OK +- request: + body: '{"messages": [{"content": "You are test role. test backstory\nYour personal + goal is: test goal\nYou ONLY have access to the following tools, and should + NEVER make up tools that are not listed here:\n\nget_final_answer(anything: + str) -> float - Get the final answer but don''t give it yet, just re-use this\n tool + non-stop.\n\nUse the following format:\n\nThought: you should always think about + what to do\nAction: the action to take, only one name of [get_final_answer], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple python dictionary, enclosed in curly braces, using \" to wrap + keys and values.\nObservation: the result of the action\n\nOnce all necessary + information is gathered:\n\nThought: I now know the final answer\nFinal Answer: + the final answer to the original input question\n\nCurrent Task: The final answer + is 42. But don''t give it until I tell you so, instead keep using the `get_final_answer` + tool.\n\nThis is the expect criteria for your final answer: The final answer, + don''t give it until I tell you so \n you MUST return the actual complete content + as the final answer, not a summary.\n\nBegin! This is VERY important to you, + use the tools available and give your best Final Answer, your job depends on + it!\n\nThought:\nI need to use the `get_final_answer` tool to get the final + answer. However, I should not provide the answer immediately.\n\nAction: get_final_answer\nAction + Input: {\"anything\": \"The final answer is 42. But don''t give it until I tell + you so, instead keep using the `get_final_answer` tool.\"}\nObservation: 42\nThought: + I have used the tool and obtained the final answer. However, I am not supposed + to provide it yet.\n\nAction: get_final_answer\nAction Input: {\"anything\": + \"The final answer is 42. But don''t give it until I tell you so, instead keep + using the `get_final_answer` tool.\"}\nObservation: I tried reusing the same + input, I must stop using this action input. I''ll try something else instead.\n\n\n", + "role": "user"}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"], "stream": + true, "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '2115' + content-type: + - application/json + cookie: + - __cf_bm=kryNPygZ46kZtw5uf1ex8Rta3oCSOfnbDCfpKzZOzUA-1720810800-1.0.1.1-k3V9JXE0nFQoTe043Nz649vToF_4fGsMA_XIT6N3te9_gqkKuVCOPenJ2X_5NpTUQxIEyrIeVODAvbNOkLMuBg; + _cfuvid=lpcH.T9DN7DbZbGIAbd1_11lYotQF02JpxDUYJlZ3Ig-1720810800165-0.0.1.1-604800000 + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.35.10 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.35.10 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + get"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Input"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + {\""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"anything"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + have"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + used"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + tool"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + and"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + obtained"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + However"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + am"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + not"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + supposed"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + provide"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + it"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + yet"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"}"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmyp7hedM38YS0KbXODJpZNDghw","object":"chat.completion.chunk","created":1720810808,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 8a23463d7c8b09ce-MIA + Connection: + - keep-alive + Content-Type: + - text/event-stream; charset=utf-8 + Date: + - Fri, 12 Jul 2024 19:00:08 GMT + Server: + - cloudflare + Transfer-Encoding: + - chunked + alt-svc: + - h3=":443"; ma=86400 + openai-organization: + - crewai-iuxna1 + openai-processing-ms: + - '517' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=31536000; includeSubDomains + x-ratelimit-limit-requests: + - '10000' + x-ratelimit-limit-tokens: + - '1000000' + x-ratelimit-remaining-requests: + - '9999' + x-ratelimit-remaining-tokens: + - '999500' + x-ratelimit-reset-requests: + - 6ms + x-ratelimit-reset-tokens: + - 30ms + x-request-id: + - req_ef8f46506472c6dac102e6f51dd32d41 + status: + code: 200 + message: OK +- request: + body: '{"messages": [{"content": "You are test role. test backstory\nYour personal + goal is: test goal\nYou ONLY have access to the following tools, and should + NEVER make up tools that are not listed here:\n\nget_final_answer(anything: + str) -> float - Get the final answer but don''t give it yet, just re-use this\n tool + non-stop.\n\nUse the following format:\n\nThought: you should always think about + what to do\nAction: the action to take, only one name of [get_final_answer], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple python dictionary, enclosed in curly braces, using \" to wrap + keys and values.\nObservation: the result of the action\n\nOnce all necessary + information is gathered:\n\nThought: I now know the final answer\nFinal Answer: + the final answer to the original input question\n\nCurrent Task: The final answer + is 42. But don''t give it until I tell you so, instead keep using the `get_final_answer` + tool.\n\nThis is the expect criteria for your final answer: The final answer, + don''t give it until I tell you so \n you MUST return the actual complete content + as the final answer, not a summary.\n\nBegin! This is VERY important to you, + use the tools available and give your best Final Answer, your job depends on + it!\n\nThought:\nI need to use the `get_final_answer` tool to get the final + answer. However, I should not provide the answer immediately.\n\nAction: get_final_answer\nAction + Input: {\"anything\": \"The final answer is 42. But don''t give it until I tell + you so, instead keep using the `get_final_answer` tool.\"}\nObservation: 42\nThought: + I have used the tool and obtained the final answer. However, I am not supposed + to provide it yet.\n\nAction: get_final_answer\nAction Input: {\"anything\": + \"The final answer is 42. But don''t give it until I tell you so, instead keep + using the `get_final_answer` tool.\"}\nObservation: I tried reusing the same + input, I must stop using this action input. I''ll try something else instead.\n\n\nAction: + get_final_answer\nAction Input: {\"anything\": \"I have used the tool and obtained + the final answer. However, I am not supposed to provide it yet.\"}\nObservation: + 42\n\n\nYou ONLY have access to the following tools, and should NEVER make up + tools that are not listed here:\n\nget_final_answer(anything: str) -> float + - Get the final answer but don''t give it yet, just re-use this\n tool + non-stop.\n\nUse the following format:\n\nThought: you should always think about + what to do\nAction: the action to take, only one name of [get_final_answer], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple python dictionary, enclosed in curly braces, using \" to wrap + keys and values.\nObservation: the result of the action\n\nOnce all necessary + information is gathered:\n\nThought: I now know the final answer\nFinal Answer: + the final answer to the original input question\n\n", "role": "user"}], "model": + "gpt-4", "n": 1, "stop": ["\nObservation"], "stream": true, "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '3041' + content-type: + - application/json + cookie: + - __cf_bm=kryNPygZ46kZtw5uf1ex8Rta3oCSOfnbDCfpKzZOzUA-1720810800-1.0.1.1-k3V9JXE0nFQoTe043Nz649vToF_4fGsMA_XIT6N3te9_gqkKuVCOPenJ2X_5NpTUQxIEyrIeVODAvbNOkLMuBg; + _cfuvid=lpcH.T9DN7DbZbGIAbd1_11lYotQF02JpxDUYJlZ3Ig-1720810800165-0.0.1.1-604800000 + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.35.10 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.35.10 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + have"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + used"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + `"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"get"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"`"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + tool"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + several"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + times"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + as"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + instructed"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + now"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + know"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + but"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + am"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + not"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + supposed"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + provide"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + it"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + yet"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + have"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + used"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + `"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"get"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"`"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + tool"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + and"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + know"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + However"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + as"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + per"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + instructions"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + will"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + not"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + provide"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + it"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + yet"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn0sjMgDDieNTUTiNEp3XIRD37C","object":"chat.completion.chunk","created":1720810810,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 8a23464a4fac09ce-MIA + Connection: + - keep-alive + Content-Type: + - text/event-stream; charset=utf-8 + Date: + - Fri, 12 Jul 2024 19:00:10 GMT + Server: + - cloudflare + Transfer-Encoding: + - chunked + alt-svc: + - h3=":443"; ma=86400 + openai-organization: + - crewai-iuxna1 + openai-processing-ms: + - '353' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=31536000; includeSubDomains + x-ratelimit-limit-requests: + - '10000' + x-ratelimit-limit-tokens: + - '1000000' + x-ratelimit-remaining-requests: + - '9999' + x-ratelimit-remaining-tokens: + - '999275' + x-ratelimit-reset-requests: + - 6ms + x-ratelimit-reset-tokens: + - 43ms + x-request-id: + - req_ff9a314001924611b1917b80a58b507c status: code: 200 message: OK diff --git a/tests/cassettes/test_logging_tool_usage.yaml b/tests/cassettes/test_logging_tool_usage.yaml index 3532fc844..160c8d845 100644 --- a/tests/cassettes/test_logging_tool_usage.yaml +++ b/tests/cassettes/test_logging_tool_usage.yaml @@ -1,296 +1,266 @@ interactions: - request: - body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour - personal goal is: test goal\n\nYou ONLY have access to the following tools, - and should NEVER make up tools that are not listed here:\n\nmultiplier: multiplier(first_number: - int, second_number: int) -> float - Useful for when you need to multiply two - numbers together.\n\nUse the following format:\n\nThought: you should always - think about what to do\nAction: the action to take, only one name of [multiplier], - just the name, exactly as it''s written.\nAction Input: the input to the action, - just a simple a python dictionary using \" to wrap keys and values.\nObservation: - the result of the action\n\nOnce all necessary information is gathered:\n\nThought: - I now know the final answer\nFinal Answer: the final answer to the original - input question\n\n\nCurrent Task: What is 3 times 4?\n\nThis is the expect criteria - for your final answer: The result of the multiplication. \n you MUST return - the actual complete content as the final answer, not a summary.\n\nBegin! This - is VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought: \n"}], "model": "gpt-4", "n": 1, "stop": + body: '{"messages": [{"content": "You are test role. test backstory\nYour personal + goal is: test goal\nYou ONLY have access to the following tools, and should + NEVER make up tools that are not listed here:\n\nmultiplier(first_number: int, + second_number: int) -> float - Useful for when you need to multiply two numbers + together.\n\nUse the following format:\n\nThought: you should always think about + what to do\nAction: the action to take, only one name of [multiplier], just + the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple python dictionary, enclosed in curly braces, using \" to wrap + keys and values.\nObservation: the result of the action\n\nOnce all necessary + information is gathered:\n\nThought: I now know the final answer\nFinal Answer: + the final answer to the original input question\n\nCurrent Task: What is 3 times + 4?\n\nThis is the expect criteria for your final answer: The result of the multiplication. + \n you MUST return the actual complete content as the final answer, not a summary.\n\nBegin! + This is VERY important to you, use the tools available and give your best Final + Answer, your job depends on it!\n\nThought:\n", "role": "user"}], "model": "gpt-4o", + "n": 1, "stop": ["\nObservation"], "stream": true, "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate + connection: + - keep-alive + content-length: + - '1277' + content-type: + - application/json + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.35.10 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.35.10 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + need"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + determine"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + product"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + of"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + and"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"4"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + multiplier"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + Input"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + {\""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"first"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + \""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"second"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"4"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{"content":"}"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFmdFjejvg8ErQVjcpCsY8q7QbBI","object":"chat.completion.chunk","created":1720810787,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_d33f7b429e","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 8a2345bd1ffd742e-MIA + Connection: + - keep-alive + Content-Type: + - text/event-stream; charset=utf-8 + Date: + - Fri, 12 Jul 2024 18:59:47 GMT + Server: + - cloudflare + Set-Cookie: + - __cf_bm=EvHnbspWLzEWYmRV1sLsvFlp1S5ePQd_KIGldEvula4-1720810787-1.0.1.1-fcfgfphTZearpEpqAdn5vCov8FO3hERf4Zij0dZmjoTuHkfcpXthynLGlq2sBt7SpE72ogziXHDlNZsSvmBQzA; + path=/; expires=Fri, 12-Jul-24 19:29:47 GMT; domain=.api.openai.com; HttpOnly; + Secure; SameSite=None + - _cfuvid=QoRToNVlfxPsZucAm6jmW5xUqoEucDbQTYK4SkSwmUc-1720810787746-0.0.1.1-604800000; + path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None + Transfer-Encoding: + - chunked + alt-svc: + - h3=":443"; ma=86400 + openai-organization: + - crewai-iuxna1 + openai-processing-ms: + - '90' + openai-version: + - '2020-10-01' + strict-transport-security: + - max-age=31536000; includeSubDomains + x-ratelimit-limit-requests: + - '10000' + x-ratelimit-limit-tokens: + - '22000000' + x-ratelimit-remaining-requests: + - '9999' + x-ratelimit-remaining-tokens: + - '21999703' + x-ratelimit-reset-requests: + - 6ms + x-ratelimit-reset-tokens: + - 0s + x-request-id: + - req_f9575c9cc6494a463ddd5681e599b56d + status: + code: 200 + message: OK +- request: + body: '{"messages": [{"content": "You are test role. test backstory\nYour personal + goal is: test goal\nYou ONLY have access to the following tools, and should + NEVER make up tools that are not listed here:\n\nmultiplier(first_number: int, + second_number: int) -> float - Useful for when you need to multiply two numbers + together.\n\nUse the following format:\n\nThought: you should always think about + what to do\nAction: the action to take, only one name of [multiplier], just + the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple python dictionary, enclosed in curly braces, using \" to wrap + keys and values.\nObservation: the result of the action\n\nOnce all necessary + information is gathered:\n\nThought: I now know the final answer\nFinal Answer: + the final answer to the original input question\n\nCurrent Task: What is 3 times + 4?\n\nThis is the expect criteria for your final answer: The result of the multiplication. + \n you MUST return the actual complete content as the final answer, not a summary.\n\nBegin! + This is VERY important to you, use the tools available and give your best Final + Answer, your job depends on it!\n\nThought:\nI need to determine the product + of 3 and 4.\n\nAction: multiplier\nAction Input: {\"first_number\": 3, \"second_number\": + 4}\nObservation: 12\n", "role": "user"}], "model": "gpt-4o", "n": 1, "stop": ["\nObservation"], "stream": true, "temperature": 0.7}' headers: accept: - application/json accept-encoding: - - gzip, deflate, br + - gzip, deflate connection: - keep-alive content-length: - - '1268' - content-type: - - application/json - host: - - api.openai.com - user-agent: - - OpenAI/Python 1.12.0 - x-stainless-arch: - - arm64 - x-stainless-async: - - 'false' - x-stainless-lang: - - python - x-stainless-os: - - MacOS - x-stainless-package-version: - - 1.12.0 - x-stainless-runtime: - - CPython - x-stainless-runtime-version: - - 3.11.7 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: 'data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"I"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - need"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - calculate"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - product"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - of"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"4"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - \n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"multi"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"plier"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n\n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Input"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - \n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"{\n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - \""},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"first"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":",\n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - \""},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"second"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"4"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"}\n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-8yMQXsDdREkfWKHVzRsYPnQXOyQNX","object":"chat.completion.chunk","created":1709396581,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} - - - data: [DONE] - - - ' - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 85e2ba970e5851e6-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Type: - - text/event-stream - Date: - - Sat, 02 Mar 2024 16:23:01 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=C0VdYjpV_Hv7CqW8v18fK47fudXVna82_U1z_FcZ1Ng-1709396581-1.0.1.1-3mcMHbUjGImAUy9c5jtpPwFU1NQDoziKGjF8PNiFaGvST9S6PAOQVvyo4vHhKkznZM38Rs39YASCuQyyHRlkUg; - path=/; expires=Sat, 02-Mar-24 16:53:01 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=XwSpHIa8bLFKjduTc6qVKOscgm9TIoxw5Nm7uklFgXw-1709396581628-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - crewai-iuxna1 - openai-processing-ms: - - '360' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '299706' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 58ms - x-request-id: - - req_e3515cf2ba7a535d68b03019b57dfbf1 - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour - personal goal is: test goal\n\nYou ONLY have access to the following tools, - and should NEVER make up tools that are not listed here:\n\nmultiplier: multiplier(first_number: - int, second_number: int) -> float - Useful for when you need to multiply two - numbers together.\n\nUse the following format:\n\nThought: you should always - think about what to do\nAction: the action to take, only one name of [multiplier], - just the name, exactly as it''s written.\nAction Input: the input to the action, - just a simple a python dictionary using \" to wrap keys and values.\nObservation: - the result of the action\n\nOnce all necessary information is gathered:\n\nThought: - I now know the final answer\nFinal Answer: the final answer to the original - input question\n\n\nCurrent Task: What is 3 times 4?\n\nThis is the expect criteria - for your final answer: The result of the multiplication. \n you MUST return - the actual complete content as the final answer, not a summary.\n\nBegin! This - is VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought: \nI need to calculate the product of 3 and - 4.\n\nAction: \nmultiplier\n\nAction Input: \n{\n \"first_number\": 3,\n \"second_number\": - 4\n}\n\nObservation: 12\n"}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"], - "stream": true, "temperature": 0.7}' - headers: - accept: - - application/json - accept-encoding: - - gzip, deflate, br - connection: - - keep-alive - content-length: - - '1428' + - '1420' content-type: - application/json cookie: - - __cf_bm=C0VdYjpV_Hv7CqW8v18fK47fudXVna82_U1z_FcZ1Ng-1709396581-1.0.1.1-3mcMHbUjGImAUy9c5jtpPwFU1NQDoziKGjF8PNiFaGvST9S6PAOQVvyo4vHhKkznZM38Rs39YASCuQyyHRlkUg; - _cfuvid=XwSpHIa8bLFKjduTc6qVKOscgm9TIoxw5Nm7uklFgXw-1709396581628-0.0.1.1-604800000 + - __cf_bm=EvHnbspWLzEWYmRV1sLsvFlp1S5ePQd_KIGldEvula4-1720810787-1.0.1.1-fcfgfphTZearpEpqAdn5vCov8FO3hERf4Zij0dZmjoTuHkfcpXthynLGlq2sBt7SpE72ogziXHDlNZsSvmBQzA; + _cfuvid=QoRToNVlfxPsZucAm6jmW5xUqoEucDbQTYK4SkSwmUc-1720810787746-0.0.1.1-604800000 host: - api.openai.com user-agent: - - OpenAI/Python 1.12.0 + - OpenAI/Python 1.35.10 x-stainless-arch: - arm64 x-stainless-async: @@ -300,7 +270,7 @@ interactions: x-stainless-os: - MacOS x-stainless-package-version: - - 1.12.0 + - 1.35.10 x-stainless-runtime: - CPython x-stainless-runtime-version: @@ -309,60 +279,60 @@ interactions: uri: https://api.openai.com/v1/chat/completions response: body: - string: 'data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + string: 'data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" I"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" now"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" know"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" answer"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":".\n"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" Answer"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"12"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":"12"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-8yMQZOVWWNho7BfFEeCd0GJq4Qstq","object":"chat.completion.chunk","created":1709396583,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + data: {"id":"chatcmpl-9kFme2PvSyqdXzFbvYY0WXafqzr5K","object":"chat.completion.chunk","created":1720810788,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} data: [DONE] @@ -373,47 +343,41 @@ interactions: CF-Cache-Status: - DYNAMIC CF-RAY: - - 85e2baa3593951e6-GRU - Cache-Control: - - no-cache, must-revalidate + - 8a2345c21e0b742e-MIA Connection: - keep-alive Content-Type: - - text/event-stream + - text/event-stream; charset=utf-8 Date: - - Sat, 02 Mar 2024 16:23:03 GMT + - Fri, 12 Jul 2024 18:59:48 GMT Server: - cloudflare Transfer-Encoding: - chunked - access-control-allow-origin: - - '*' alt-svc: - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 openai-organization: - crewai-iuxna1 openai-processing-ms: - - '321' + - '133' openai-version: - '2020-10-01' strict-transport-security: - - max-age=15724800; includeSubDomains + - max-age=31536000; includeSubDomains x-ratelimit-limit-requests: - '10000' x-ratelimit-limit-tokens: - - '300000' + - '22000000' x-ratelimit-remaining-requests: - '9999' x-ratelimit-remaining-tokens: - - '299670' + - '21999671' x-ratelimit-reset-requests: - 6ms x-ratelimit-reset-tokens: - - 65ms + - 0s x-request-id: - - req_5670da4792b11cfa6dd8ed3b6dd85cbc + - req_be7165ee4924469e40e6a6b89a758b39 status: code: 200 message: OK diff --git a/tests/cassettes/test_tool_usage_information_is_appended_to_agent.yaml b/tests/cassettes/test_tool_usage_information_is_appended_to_agent.yaml index d4bf483de..00b5b379e 100644 --- a/tests/cassettes/test_tool_usage_information_is_appended_to_agent.yaml +++ b/tests/cassettes/test_tool_usage_information_is_appended_to_agent.yaml @@ -20,7 +20,7 @@ interactions: accept: - application/json accept-encoding: - - gzip, deflate, br + - gzip, deflate connection: - keep-alive content-length: @@ -44,80 +44,103 @@ interactions: x-stainless-runtime: - CPython x-stainless-runtime-version: - - 3.11.9 + - 3.11.7 method: POST uri: https://api.openai.com/v1/chat/completions response: body: - string: 'data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + string: 'data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":"I"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" need"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" to"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":" - decide"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" + choose"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":" - on"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" an"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" appropriate"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" greeting"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" + make"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" + everyone"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" + feel"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" + welcome"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":".\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" Decide"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" Greetings"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" Input"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{"content":" - {}\n"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{"content":" + {}"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWRAEA0akLHaVsdYQP1dYZ73QJC","object":"chat.completion.chunk","created":1720137083,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_4008e3b719","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + data: {"id":"chatcmpl-9kFn5wBmr3LxGG62NXc5GVlHvdhYu","object":"chat.completion.chunk","created":1720810815,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_298125635f","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} data: [DONE] @@ -128,20 +151,20 @@ interactions: CF-Cache-Status: - DYNAMIC CF-RAY: - - 89e305e3c8e382f5-GIG + - 8a23466b68c6da17-MIA Connection: - keep-alive Content-Type: - text/event-stream; charset=utf-8 Date: - - Thu, 04 Jul 2024 23:51:24 GMT + - Fri, 12 Jul 2024 19:00:15 GMT Server: - cloudflare Set-Cookie: - - __cf_bm=y7BtDW9RWNaYoBExulKsMw50ppqr1itieWbcStDWqVc-1720137084-1.0.1.1-EYCEQ9jOimP45.FgXjdzWftUrV1HHm49W4wbcxFhbrj2DVC1LnMbz9.l.c._AqBRgFAE3xVolosvjmoFDAMPYQ; - path=/; expires=Fri, 05-Jul-24 00:21:24 GMT; domain=.api.openai.com; HttpOnly; + - __cf_bm=5Q4fR7Axcb9pOI3.xD7MckzP6nvjl7aUGw1NJkxLXiY-1720810815-1.0.1.1-nBCqeg7gu9__SL5Jstz.kPKlKOisvW1iKhTWpyXfY.wyoYUCxPPcaOkFtXjn4wZuibClBrGVEsFDAAuB1Jwj1g; + path=/; expires=Fri, 12-Jul-24 19:30:15 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - - _cfuvid=pZBoWQ1_gTeUh2oe6ta.S2mxWtdaHvAtn6m2HszLdwk-1720137084219-0.0.1.1-604800000; + - _cfuvid=VtZy6_mT_xZheA53qWxlfPk4NhcrOjGYsGlKoh66LSw-1720810815947-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None Transfer-Encoding: - chunked @@ -150,7 +173,7 @@ interactions: openai-organization: - crewai-iuxna1 openai-processing-ms: - - '335' + - '537' openai-version: - '2020-10-01' strict-transport-security: @@ -158,17 +181,17 @@ interactions: x-ratelimit-limit-requests: - '10000' x-ratelimit-limit-tokens: - - '16000000' + - '22000000' x-ratelimit-remaining-requests: - '9999' x-ratelimit-remaining-tokens: - - '15999700' + - '21999701' x-ratelimit-reset-requests: - 6ms x-ratelimit-reset-tokens: - - 1ms + - 0s x-request-id: - - req_b3f7e3c47df2641d6bef704ef3ae8a0f + - req_1b582ffd4f0b3972542c2dff29ded287 status: code: 200 message: OK @@ -187,24 +210,24 @@ interactions: greeting.\n\nThis is the expect criteria for your final answer: The greeting. \n you MUST return the actual complete content as the final answer, not a summary.\n\nBegin! This is VERY important to you, use the tools available and give your best Final - Answer, your job depends on it!\n\nThought:\nI need to decide on an appropriate - greeting.\n\nAction: Decide Greetings\nAction Input: {}\n\nObservation: Howdy!\n", - "role": "user"}], "model": "gpt-4o", "n": 1, "stop": ["\nObservation"], "stream": - true, "temperature": 0.7}' + Answer, your job depends on it!\n\nThought:\nThought: I need to choose an appropriate + greeting to make everyone feel welcome.\nAction: Decide Greetings\nAction Input: + {}\nObservation: Howdy!\n", "role": "user"}], "model": "gpt-4o", "n": 1, "stop": + ["\nObservation"], "stream": true, "temperature": 0.7}' headers: accept: - application/json accept-encoding: - - gzip, deflate, br + - gzip, deflate connection: - keep-alive content-length: - - '1404' + - '1436' content-type: - application/json cookie: - - __cf_bm=y7BtDW9RWNaYoBExulKsMw50ppqr1itieWbcStDWqVc-1720137084-1.0.1.1-EYCEQ9jOimP45.FgXjdzWftUrV1HHm49W4wbcxFhbrj2DVC1LnMbz9.l.c._AqBRgFAE3xVolosvjmoFDAMPYQ; - _cfuvid=pZBoWQ1_gTeUh2oe6ta.S2mxWtdaHvAtn6m2HszLdwk-1720137084219-0.0.1.1-604800000 + - __cf_bm=5Q4fR7Axcb9pOI3.xD7MckzP6nvjl7aUGw1NJkxLXiY-1720810815-1.0.1.1-nBCqeg7gu9__SL5Jstz.kPKlKOisvW1iKhTWpyXfY.wyoYUCxPPcaOkFtXjn4wZuibClBrGVEsFDAAuB1Jwj1g; + _cfuvid=VtZy6_mT_xZheA53qWxlfPk4NhcrOjGYsGlKoh66LSw-1720810815947-0.0.1.1-604800000 host: - api.openai.com user-agent: @@ -222,68 +245,68 @@ interactions: x-stainless-runtime: - CPython x-stainless-runtime-version: - - 3.11.9 + - 3.11.7 method: POST uri: https://api.openai.com/v1/chat/completions response: body: - string: 'data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + string: 'data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":" I"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":" now"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":" know"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":" final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":" answer"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":".\n"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":" Answer"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":" How"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":"dy"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":"dy"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{"content":"!"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{"content":"!"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-9hQWSD5B35ANI9JLmbxUdPECfNd43","object":"chat.completion.chunk","created":1720137084,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_ce0793330f","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + data: {"id":"chatcmpl-9kFn6xVncEzHOGdnzGN9R8fMONMEi","object":"chat.completion.chunk","created":1720810816,"model":"gpt-4o-2024-05-13","system_fingerprint":"fp_dd932ca5d1","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} data: [DONE] @@ -294,13 +317,13 @@ interactions: CF-Cache-Status: - DYNAMIC CF-RAY: - - 89e305ea4abc82f5-GIG + - 8a234672c9fbda17-MIA Connection: - keep-alive Content-Type: - text/event-stream; charset=utf-8 Date: - - Thu, 04 Jul 2024 23:51:24 GMT + - Fri, 12 Jul 2024 19:00:16 GMT Server: - cloudflare Transfer-Encoding: @@ -310,7 +333,7 @@ interactions: openai-organization: - crewai-iuxna1 openai-processing-ms: - - '91' + - '122' openai-version: - '2020-10-01' strict-transport-security: @@ -318,17 +341,17 @@ interactions: x-ratelimit-limit-requests: - '10000' x-ratelimit-limit-tokens: - - '16000000' + - '22000000' x-ratelimit-remaining-requests: - '9999' x-ratelimit-remaining-tokens: - - '15999673' + - '21999666' x-ratelimit-reset-requests: - 6ms x-ratelimit-reset-tokens: - - 1ms + - 0s x-request-id: - - req_10032db16fa190e8435947a6aaa700ff + - req_484dde23b57ef3f715ab183690fe73b9 status: code: 200 message: OK