Files
crewAI/tests/cassettes/test_tools_with_custom_caching.yaml
2024-09-15 19:37:58 -03:00

1065 lines
47 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", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1660'
content-type:
- application/json
cookie:
- __cf_bm=xCQEG8vgEvQfut0bkj2xgre9z9ePZhdKdNxBphhvH6s-1726437753-1.0.1.1-5qo0zwDCcKDtqvIzDbp2sLEPCey8v5DAsf0Mg6f2RmooOW9FXTw2P66VCTTF.vCwTpWBIFk0vzKmBAPOt6urIg;
_cfuvid=TiTyEciy7HrUlIDEsELZqkUyM4Fyn8OldZd4JefFMOA-1726437753108-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.45.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.45.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-A7rkQCQv6j1y8g940Eaq23rRPicW9\",\n \"object\":
\"chat.completion\",\n \"created\": 1726438266,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"I need to use the multiplication tool
to find out what 2 times 6 is.\\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\":
41,\n \"total_tokens\": 383,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3bf35aec93a4ca-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 22:11:06 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '389'
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_a4783b2c2e511b0d1b3f4b97c34e2a37
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": "assistant", "content":
"I need to use the multiplication tool to find out what 2 times 6 is.\n\nAction:
multiplcation_tool\nAction Input: {\"first_number\": 2, \"second_number\": 6}\nObservation:
12"}], "model": "gpt-4o", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1872'
content-type:
- application/json
cookie:
- __cf_bm=xCQEG8vgEvQfut0bkj2xgre9z9ePZhdKdNxBphhvH6s-1726437753-1.0.1.1-5qo0zwDCcKDtqvIzDbp2sLEPCey8v5DAsf0Mg6f2RmooOW9FXTw2P66VCTTF.vCwTpWBIFk0vzKmBAPOt6urIg;
_cfuvid=TiTyEciy7HrUlIDEsELZqkUyM4Fyn8OldZd4JefFMOA-1726437753108-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.45.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.45.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-A7rkRM3TySTFSgvgFqckcMdwDNz83\",\n \"object\":
\"chat.completion\",\n \"created\": 1726438267,\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\":
391,\n \"completion_tokens\": 14,\n \"total_tokens\": 405,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3bf35ffc3ea4ca-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 22:11:07 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '188'
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_d33264aca301a65b255869695e81d394
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", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1708'
content-type:
- application/json
cookie:
- __cf_bm=xCQEG8vgEvQfut0bkj2xgre9z9ePZhdKdNxBphhvH6s-1726437753-1.0.1.1-5qo0zwDCcKDtqvIzDbp2sLEPCey8v5DAsf0Mg6f2RmooOW9FXTw2P66VCTTF.vCwTpWBIFk0vzKmBAPOt6urIg;
_cfuvid=TiTyEciy7HrUlIDEsELZqkUyM4Fyn8OldZd4JefFMOA-1726437753108-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.45.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.45.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-A7rkRY9roek8hAXhVNXbI8of8UALG\",\n \"object\":
\"chat.completion\",\n \"created\": 1726438267,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I need to multiply 3 by 1 to
find the answer.\\n\\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\": 39,\n \"total_tokens\": 391,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3bf363ca21a4ca-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 22:11:08 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '382'
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_8fb6cf273fdd8fbd5ea5f3bb6d2436dc
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": "assistant", "content": "Thought: I need to multiply
3 by 1 to find the answer.\n\nAction: multiplcation_tool\nAction Input: {\"first_number\":
3, \"second_number\": 1}\nObservation: 3"}], "model": "gpt-4o", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1905'
content-type:
- application/json
cookie:
- __cf_bm=xCQEG8vgEvQfut0bkj2xgre9z9ePZhdKdNxBphhvH6s-1726437753-1.0.1.1-5qo0zwDCcKDtqvIzDbp2sLEPCey8v5DAsf0Mg6f2RmooOW9FXTw2P66VCTTF.vCwTpWBIFk0vzKmBAPOt6urIg;
_cfuvid=TiTyEciy7HrUlIDEsELZqkUyM4Fyn8OldZd4JefFMOA-1726437753108-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.45.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.45.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-A7rkSWAAyF8fyjZkopOKKB3Mpcgor\",\n \"object\":
\"chat.completion\",\n \"created\": 1726438268,\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\":
399,\n \"completion_tokens\": 14,\n \"total_tokens\": 413,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3bf368da2ba4ca-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 22:11:08 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '179'
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:
- '29999556'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_c801a046f96a126b84974de6dcff9c3d
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", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1707'
content-type:
- application/json
cookie:
- __cf_bm=xCQEG8vgEvQfut0bkj2xgre9z9ePZhdKdNxBphhvH6s-1726437753-1.0.1.1-5qo0zwDCcKDtqvIzDbp2sLEPCey8v5DAsf0Mg6f2RmooOW9FXTw2P66VCTTF.vCwTpWBIFk0vzKmBAPOt6urIg;
_cfuvid=TiTyEciy7HrUlIDEsELZqkUyM4Fyn8OldZd4JefFMOA-1726437753108-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.45.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.45.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-A7rkT2mq9IuzkNun4xfu927EIIvkn\",\n \"object\":
\"chat.completion\",\n \"created\": 1726438269,\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 2 times 6.\\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\":
43,\n \"total_tokens\": 395,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3bf36c9810a4ca-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 22:11:09 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '455'
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_dc58a58c8cc6ce28bfe73387e8fb9224
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": "assistant", "content": "Thought: I need to use
the multiplication tool to find the result of 2 times 6.\nAction: multiplcation_tool\nAction
Input: {\"first_number\": 2, \"second_number\": 6}\nObservation: 12"}], "model":
"gpt-4o", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1928'
content-type:
- application/json
cookie:
- __cf_bm=xCQEG8vgEvQfut0bkj2xgre9z9ePZhdKdNxBphhvH6s-1726437753-1.0.1.1-5qo0zwDCcKDtqvIzDbp2sLEPCey8v5DAsf0Mg6f2RmooOW9FXTw2P66VCTTF.vCwTpWBIFk0vzKmBAPOt6urIg;
_cfuvid=TiTyEciy7HrUlIDEsELZqkUyM4Fyn8OldZd4JefFMOA-1726437753108-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.45.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.45.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-A7rkUPF8NMoXRItoKgnjGMY3WrZFT\",\n \"object\":
\"chat.completion\",\n \"created\": 1726438270,\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\":
403,\n \"completion_tokens\": 14,\n \"total_tokens\": 417,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3bf3736a6ba4ca-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 22:11:10 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '228'
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_9c43100786a25b1bd697b54011371649
http_version: HTTP/1.1
status_code: 200
- request:
body: !!binary |
CqQrCiQKIgoMc2VydmljZS5uYW1lEhIKEGN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Ji
ZDIxMHoCGAGFAQABAAA=
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '5543'
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:
- Sun, 15 Sep 2024 22:11:11 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:"}], "model": "gpt-4o", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1708'
content-type:
- application/json
cookie:
- __cf_bm=xCQEG8vgEvQfut0bkj2xgre9z9ePZhdKdNxBphhvH6s-1726437753-1.0.1.1-5qo0zwDCcKDtqvIzDbp2sLEPCey8v5DAsf0Mg6f2RmooOW9FXTw2P66VCTTF.vCwTpWBIFk0vzKmBAPOt6urIg;
_cfuvid=TiTyEciy7HrUlIDEsELZqkUyM4Fyn8OldZd4JefFMOA-1726437753108-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.45.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.45.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-A7rkUqmq8XmsGpwzUqUPVo1nSvImi\",\n \"object\":
\"chat.completion\",\n \"created\": 1726438270,\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
3 by 1.\\n\\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\": 37,\n \"total_tokens\": 389,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3bf3778929a4ca-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 22:11:11 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '365'
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_8d50829b395c6a6559f6449daba56274
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": "assistant", "content": "I need to find the result
of multiplying 3 by 1.\n\nAction: multiplcation_tool\nAction Input: {\"first_number\":
3, \"second_number\": 1}\nObservation: 3"}], "model": "gpt-4o", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1899'
content-type:
- application/json
cookie:
- __cf_bm=xCQEG8vgEvQfut0bkj2xgre9z9ePZhdKdNxBphhvH6s-1726437753-1.0.1.1-5qo0zwDCcKDtqvIzDbp2sLEPCey8v5DAsf0Mg6f2RmooOW9FXTw2P66VCTTF.vCwTpWBIFk0vzKmBAPOt6urIg;
_cfuvid=TiTyEciy7HrUlIDEsELZqkUyM4Fyn8OldZd4JefFMOA-1726437753108-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.45.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.45.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-A7rkVFxvCFYfwUPHfYQpgVrxMDUQ1\",\n \"object\":
\"chat.completion\",\n \"created\": 1726438271,\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.\\n\\nFinal
Answer: 3\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
397,\n \"completion_tokens\": 14,\n \"total_tokens\": 411,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3bf37c68f0a4ca-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 22:11:11 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '200'
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:
- '29999557'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_726c6af1d2c7e5080301c5514899ce50
http_version: HTTP/1.1
status_code: 200
version: 1