Files
crewAI/tests/cassettes/test_tools_with_custom_caching.yaml
2024-09-23 17:45:20 -03:00

1040 lines
45 KiB
YAML

interactions:
- request:
body: '{"messages": [{"role": "system", "content": "You are Writer. You''re an
expert in writing and you love to teach kids but you know nothing of math.\nYour
personal goal is: You write lessons of math for kids.\nYou ONLY have access
to the following tools, and should NEVER make up tools that are not listed here:\n\nTool
Name: multiplcation_tool(*args: Any, **kwargs: Any) -> Any\nTool Description:
multiplcation_tool(first_number: ''integer'', second_number: ''integer'') -
Useful for when you need to multiply two numbers together. \nTool Arguments:
{''first_number'': {''title'': ''First Number'', ''type'': ''integer''}, ''second_number'':
{''title'': ''Second Number'', ''type'': ''integer''}}\n\nUse the following
format:\n\nThought: you should always think about what to do\nAction: the action
to take, only one name of [multiplcation_tool], 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"}, {"role": "user", "content": "\nCurrent Task: What is 2 times
6? Return only the number after using the multiplication tool.\n\nThis is the
expect criteria for your final answer: the result of multiplication\nyou 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:"}], "model": "gpt-4o"}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1632'
content-type:
- application/json
cookie:
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.47.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.47.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjH1vmZ33qLPqE7JLW8lmGtmZ6GX\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120675,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"I need to find the result of 2 times
6 using the multiplication tool.\\n\\nAction: multiplcation_tool\\nAction Input:
{\\\"first_number\\\": 2, \\\"second_number\\\": 6}\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 342,\n \"completion_tokens\":
40,\n \"total_tokens\": 382,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_52a7f40b0b\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d07bd48e6a4c7-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:44:36 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '654'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999605'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_828843340a4ab7998efd552691caa3a5
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "system", "content": "You are Writer. You''re an
expert in writing and you love to teach kids but you know nothing of math.\nYour
personal goal is: You write lessons of math for kids.\nYou ONLY have access
to the following tools, and should NEVER make up tools that are not listed here:\n\nTool
Name: multiplcation_tool(*args: Any, **kwargs: Any) -> Any\nTool Description:
multiplcation_tool(first_number: ''integer'', second_number: ''integer'') -
Useful for when you need to multiply two numbers together. \nTool Arguments:
{''first_number'': {''title'': ''First Number'', ''type'': ''integer''}, ''second_number'':
{''title'': ''Second Number'', ''type'': ''integer''}}\n\nUse the following
format:\n\nThought: you should always think about what to do\nAction: the action
to take, only one name of [multiplcation_tool], 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"}, {"role": "user", "content": "\nCurrent Task: What is 2 times
6? Return only the number after using the multiplication tool.\n\nThis is the
expect criteria for your final answer: the result of multiplication\nyou 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:"}, {"role": "user", "content": "I
need to find the result of 2 times 6 using the multiplication tool.\n\nAction:
multiplcation_tool\nAction Input: {\"first_number\": 2, \"second_number\": 6}\nObservation:
12"}], "model": "gpt-4o"}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1840'
content-type:
- application/json
cookie:
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.47.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.47.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjH2dEUjFNCotRoRIJwREcBjrDbZ\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120676,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I now know the final answer\\nFinal
Answer: 12\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
390,\n \"completion_tokens\": 14,\n \"total_tokens\": 404,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_52a7f40b0b\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d07c42b8ca4c7-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:44:37 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '330'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999562'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_caf5af6941c17f5134e0db3c3ccbdfa4
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "system", "content": "You are Writer. You''re an
expert in writing and you love to teach kids but you know nothing of math.\nYour
personal goal is: You write lessons of math for kids.\nYou ONLY have access
to the following tools, and should NEVER make up tools that are not listed here:\n\nTool
Name: multiplcation_tool(*args: Any, **kwargs: Any) -> Any\nTool Description:
multiplcation_tool(first_number: ''integer'', second_number: ''integer'') -
Useful for when you need to multiply two numbers together. \nTool Arguments:
{''first_number'': {''title'': ''First Number'', ''type'': ''integer''}, ''second_number'':
{''title'': ''Second Number'', ''type'': ''integer''}}\n\nUse the following
format:\n\nThought: you should always think about what to do\nAction: the action
to take, only one name of [multiplcation_tool], 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"}, {"role": "user", "content": "\nCurrent Task: What is 3 times
1? Return only the number after using the multiplication tool.\n\nThis is the
expect criteria for your final answer: the result of multiplication\nyou MUST
return the actual complete content as the final answer, not a summary.\n\nThis
is the context you''re working with:\n12\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:"}], "model": "gpt-4o"}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1680'
content-type:
- application/json
cookie:
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.47.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.47.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjH3aimXNgFwao1h4QZgsO8traaz\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120677,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I need to use the multiplication
tool to find the result of multiplying 3 and 1.\\nAction: multiplcation_tool\\nAction
Input: {\\\"first_number\\\": 3, \\\"second_number\\\": 1}\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 352,\n \"completion_tokens\":
44,\n \"total_tokens\": 396,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_52a7f40b0b\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d07c94af4a4c7-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:44:38 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '750'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999594'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_66c47e2b410c872fc87391cd6d487133
http_version: HTTP/1.1
status_code: 200
- request:
body: !!binary |
CuIlCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSuSUKEgoQY3Jld2FpLnRl
bGVtZXRyeRKQAgoQ0+mbLE7Sgx3MtjBVLzIqgRIIT4pAvHDsflEqDlRh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mItNTcyZWYzMTE1OTg5egIYAYUBAAEAAA==
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '4837'
Content-Type:
- application/x-protobuf
User-Agent:
- OTel-OTLP-Exporter-Python/1.27.0
method: POST
uri: https://telemetry.crewai.com:4319/v1/traces
response:
body:
string: "\n\0"
headers:
Content-Length:
- '2'
Content-Type:
- application/x-protobuf
Date:
- Mon, 23 Sep 2024 19:44:38 GMT
status:
code: 200
message: OK
- request:
body: '{"messages": [{"role": "system", "content": "You are Writer. You''re an
expert in writing and you love to teach kids but you know nothing of math.\nYour
personal goal is: You write lessons of math for kids.\nYou ONLY have access
to the following tools, and should NEVER make up tools that are not listed here:\n\nTool
Name: multiplcation_tool(*args: Any, **kwargs: Any) -> Any\nTool Description:
multiplcation_tool(first_number: ''integer'', second_number: ''integer'') -
Useful for when you need to multiply two numbers together. \nTool Arguments:
{''first_number'': {''title'': ''First Number'', ''type'': ''integer''}, ''second_number'':
{''title'': ''Second Number'', ''type'': ''integer''}}\n\nUse the following
format:\n\nThought: you should always think about what to do\nAction: the action
to take, only one name of [multiplcation_tool], 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"}, {"role": "user", "content": "\nCurrent Task: What is 3 times
1? Return only the number after using the multiplication tool.\n\nThis is the
expect criteria for your final answer: the result of multiplication\nyou MUST
return the actual complete content as the final answer, not a summary.\n\nThis
is the context you''re working with:\n12\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:"}, {"role": "user", "content": "Thought: I need to use the
multiplication tool to find the result of multiplying 3 and 1.\nAction: multiplcation_tool\nAction
Input: {\"first_number\": 3, \"second_number\": 1}\nObservation: 3"}], "model":
"gpt-4o"}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1905'
content-type:
- application/json
cookie:
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.47.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.47.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjH41OpSqCgK6JkJRCAcVHvoyQOH\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120678,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I now know the final answer\\nFinal
Answer: 3\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
404,\n \"completion_tokens\": 14,\n \"total_tokens\": 418,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_52a7f40b0b\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d07d08d80a4c7-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:44:39 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '271'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999546'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_ca7ff3bfe001a3e5a9b8657f4fc4c2af
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "system", "content": "You are Writer. You''re an
expert in writing and you love to teach kids but you know nothing of math.\nYour
personal goal is: You write lessons of math for kids.\nYou ONLY have access
to the following tools, and should NEVER make up tools that are not listed here:\n\nTool
Name: multiplcation_tool(*args: Any, **kwargs: Any) -> Any\nTool Description:
multiplcation_tool(first_number: ''integer'', second_number: ''integer'') -
Useful for when you need to multiply two numbers together. \nTool Arguments:
{''first_number'': {''title'': ''First Number'', ''type'': ''integer''}, ''second_number'':
{''title'': ''Second Number'', ''type'': ''integer''}}\n\nUse the following
format:\n\nThought: you should always think about what to do\nAction: the action
to take, only one name of [multiplcation_tool], 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"}, {"role": "user", "content": "\nCurrent Task: What is 2 times
6? Return only the number after using the multiplication tool.\n\nThis is the
expect criteria for your final answer: the result of multiplication\nyou MUST
return the actual complete content as the final answer, not a summary.\n\nThis
is the context you''re working with:\n3\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:"}], "model": "gpt-4o"}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1679'
content-type:
- application/json
cookie:
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.47.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.47.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjH5sl8gaqI26EdsYYZARQcYiLAK\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120679,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"I need to find the result of multiplying
2 by 6 using the multiplication tool.\\n\\nAction: multiplcation_tool\\nAction
Input: {\\\"first_number\\\": 2, \\\"second_number\\\": 6}\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 352,\n \"completion_tokens\":
41,\n \"total_tokens\": 393,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_52a7f40b0b\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d07d4dc04a4c7-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:44:40 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '620'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999594'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_86a424f2b98b45a9d30e1488be8ef7d1
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "system", "content": "You are Writer. You''re an
expert in writing and you love to teach kids but you know nothing of math.\nYour
personal goal is: You write lessons of math for kids.\nYou ONLY have access
to the following tools, and should NEVER make up tools that are not listed here:\n\nTool
Name: multiplcation_tool(*args: Any, **kwargs: Any) -> Any\nTool Description:
multiplcation_tool(first_number: ''integer'', second_number: ''integer'') -
Useful for when you need to multiply two numbers together. \nTool Arguments:
{''first_number'': {''title'': ''First Number'', ''type'': ''integer''}, ''second_number'':
{''title'': ''Second Number'', ''type'': ''integer''}}\n\nUse the following
format:\n\nThought: you should always think about what to do\nAction: the action
to take, only one name of [multiplcation_tool], 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"}, {"role": "user", "content": "\nCurrent Task: What is 2 times
6? Return only the number after using the multiplication tool.\n\nThis is the
expect criteria for your final answer: the result of multiplication\nyou MUST
return the actual complete content as the final answer, not a summary.\n\nThis
is the context you''re working with:\n3\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:"}, {"role": "user", "content": "I need to find the result
of multiplying 2 by 6 using the multiplication tool.\n\nAction: multiplcation_tool\nAction
Input: {\"first_number\": 2, \"second_number\": 6}\nObservation: 12"}], "model":
"gpt-4o"}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1896'
content-type:
- application/json
cookie:
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.47.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.47.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjH6BBVBslnnjUEzvNHM7bGUePGu\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120680,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Final Answer: 12\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 401,\n \"completion_tokens\":
5,\n \"total_tokens\": 406,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_52a7f40b0b\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d07db7e9ba4c7-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:44:40 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '337'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999550'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_4faa0b2b7cd3769d34b62c8be6558c5f
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "system", "content": "You are Writer. You''re an
expert in writing and you love to teach kids but you know nothing of math.\nYour
personal goal is: You write lessons of math for kids.\nYou ONLY have access
to the following tools, and should NEVER make up tools that are not listed here:\n\nTool
Name: multiplcation_tool(*args: Any, **kwargs: Any) -> Any\nTool Description:
multiplcation_tool(first_number: ''integer'', second_number: ''integer'') -
Useful for when you need to multiply two numbers together. \nTool Arguments:
{''first_number'': {''title'': ''First Number'', ''type'': ''integer''}, ''second_number'':
{''title'': ''Second Number'', ''type'': ''integer''}}\n\nUse the following
format:\n\nThought: you should always think about what to do\nAction: the action
to take, only one name of [multiplcation_tool], 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"}, {"role": "user", "content": "\nCurrent Task: What is 3 times
1? Return only the number after using the multiplication tool.\n\nThis is the
expect criteria for your final answer: the result of multiplication\nyou MUST
return the actual complete content as the final answer, not a summary.\n\nThis
is the context you''re working with:\n12\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:"}], "model": "gpt-4o"}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1680'
content-type:
- application/json
cookie:
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.47.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.47.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjH71U4OpYhdDz1Kpr3rRBYuJGxC\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120681,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I need to use the multiplication
tool to find the product of 3 and 1.\\nAction: multiplcation_tool\\nAction Input:
{\\\"first_number\\\": 3, \\\"second_number\\\": 1}\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 352,\n \"completion_tokens\":
43,\n \"total_tokens\": 395,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_52a7f40b0b\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d07e01d9aa4c7-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:44:41 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '567'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999594'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_50e57a907d30b4f8189c512a6182bba6
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "system", "content": "You are Writer. You''re an
expert in writing and you love to teach kids but you know nothing of math.\nYour
personal goal is: You write lessons of math for kids.\nYou ONLY have access
to the following tools, and should NEVER make up tools that are not listed here:\n\nTool
Name: multiplcation_tool(*args: Any, **kwargs: Any) -> Any\nTool Description:
multiplcation_tool(first_number: ''integer'', second_number: ''integer'') -
Useful for when you need to multiply two numbers together. \nTool Arguments:
{''first_number'': {''title'': ''First Number'', ''type'': ''integer''}, ''second_number'':
{''title'': ''Second Number'', ''type'': ''integer''}}\n\nUse the following
format:\n\nThought: you should always think about what to do\nAction: the action
to take, only one name of [multiplcation_tool], 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"}, {"role": "user", "content": "\nCurrent Task: What is 3 times
1? Return only the number after using the multiplication tool.\n\nThis is the
expect criteria for your final answer: the result of multiplication\nyou MUST
return the actual complete content as the final answer, not a summary.\n\nThis
is the context you''re working with:\n12\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:"}, {"role": "user", "content": "Thought: I need to use the
multiplication tool to find the product of 3 and 1.\nAction: multiplcation_tool\nAction
Input: {\"first_number\": 3, \"second_number\": 1}\nObservation: 3"}], "model":
"gpt-4o"}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1894'
content-type:
- application/json
cookie:
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.47.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.47.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjH8mtv4Hy9UE4BkM2EYN8UjSXdG\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120682,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Final Answer: 3\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 403,\n \"completion_tokens\":
5,\n \"total_tokens\": 408,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_52a7f40b0b\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d07e62ec4a4c7-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:44:42 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '187'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999549'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_50455bd73f0ead5387f0dce0690548a7
http_version: HTTP/1.1
status_code: 200
version: 1