Files
crewAI/tests/cassettes/test_agent_repeated_tool_usage.yaml
João Moura 4da4f7aabd new tests
2024-07-12 15:00:50 -04:00

1099 lines
63 KiB
YAML

interactions:
- 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:\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:
- '1400'
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-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-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-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-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-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-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":"
my"},"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-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":"
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":"
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":"
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-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-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":"
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":"
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":"
determine"},"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":","},"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-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":"\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":"
Input"},"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":"
{\""},"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-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":"
\""},"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":{},"logprobs":null,"finish_reason":"stop"}]}
data: [DONE]
'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8a2345ca6f6ba566-MIA
Connection:
- keep-alive
Content-Type:
- text/event-stream; charset=utf-8
Date:
- 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
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '654'
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:
- '999673'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 19ms
x-request-id:
- req_e6477dc55f3e0f79bcbc7c0774504dfe
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\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:
- '1705'
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-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-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-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":"
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":"
has"},"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":"
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-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":"
is"},"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-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":{"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]
'
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8a2345e1bea0a566-MIA
Connection:
- keep-alive
Content-Type:
- text/event-stream; charset=utf-8
Date:
- Fri, 12 Jul 2024 18:59:54 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '651'
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:
- '999600'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 24ms
x-request-id:
- 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
version: 1