mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 09:08:31 +00:00
1040 lines
45 KiB
YAML
1040 lines
45 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "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\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 \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:"}], "model": "gpt-4o", "stop": ["\nObservation"]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1626'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- _cfuvid=8r8yFLG2b7e3n6pklgpsT05MHRvfdePz1ckAFvRQY8E-1725949790252-0.0.1.1-604800000;
|
|
__cf_bm=fuuc.ZDO3Y9B7nXE_8fBn7ykDAvAaK1VdxjZw0MTtsE-1725949790-1.0.1.1-pAJ7BWJMj1j3gS2ySR6xSBO7uFrjcB6ehFra4QVq14JqaiG4VDIjDO1C3WueKGRnSALSkpLQyJcJ2YVd_pXglQ
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.44.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.44.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-A5ogT4SVyUN2nkPZrkotKmKGRAA0i\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1725949833,\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 out what 2 times 6 equals.\\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\": 337,\n \"completion_tokens\":
|
|
43,\n \"total_tokens\": 380\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c0d5eb8c875cf35-SJC
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Tue, 10 Sep 2024 06:30:33 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:
|
|
- '468'
|
|
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_ae95bd1bf69958d816484217d7600959
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "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\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 \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:"}, {"role": "assistant", "content":
|
|
"Thought: I need to use the multiplication tool to find out what 2 times 6 equals.\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:
|
|
- '1851'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- _cfuvid=8r8yFLG2b7e3n6pklgpsT05MHRvfdePz1ckAFvRQY8E-1725949790252-0.0.1.1-604800000;
|
|
__cf_bm=fuuc.ZDO3Y9B7nXE_8fBn7ykDAvAaK1VdxjZw0MTtsE-1725949790-1.0.1.1-pAJ7BWJMj1j3gS2ySR6xSBO7uFrjcB6ehFra4QVq14JqaiG4VDIjDO1C3WueKGRnSALSkpLQyJcJ2YVd_pXglQ
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.44.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.44.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-A5ogTLTCDfmhxCl7GTbveurHlm5xC\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1725949833,\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\":
|
|
388,\n \"completion_tokens\": 14,\n \"total_tokens\": 402\n },\n \"system_fingerprint\":
|
|
\"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c0d5ebc8b29cf35-SJC
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Tue, 10 Sep 2024 06:30:34 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:
|
|
- '311'
|
|
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:
|
|
- '29999561'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_a9d32d092b951bb648156e064fb38287
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: !!binary |
|
|
CtcjCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSriMKEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRKQAgoQT86psjZanpIhC3EJ1TjCVxIIHCc2Ei97vMkqDlRhc2sgRXhlY3V0aW9uM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|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '4570'
|
|
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:
|
|
- Tue, 10 Sep 2024 06:30:34 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "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\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 \n
|
|
you 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:
|
|
- '1674'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- _cfuvid=8r8yFLG2b7e3n6pklgpsT05MHRvfdePz1ckAFvRQY8E-1725949790252-0.0.1.1-604800000;
|
|
__cf_bm=fuuc.ZDO3Y9B7nXE_8fBn7ykDAvAaK1VdxjZw0MTtsE-1725949790-1.0.1.1-pAJ7BWJMj1j3gS2ySR6xSBO7uFrjcB6ehFra4QVq14JqaiG4VDIjDO1C3WueKGRnSALSkpLQyJcJ2YVd_pXglQ
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.44.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.44.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-A5ogU1SE8g0wQlPqIYaTfdjjqkyZx\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1725949834,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: To find out what 3 times 1 is,
|
|
I need to use the multiplication tool.\\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\": 347,\n \"completion_tokens\":
|
|
44,\n \"total_tokens\": 391\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c0d5ec00d35cf35-SJC
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Tue, 10 Sep 2024 06:30:34 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:
|
|
- '464'
|
|
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_4cac9c4266189cc798e3e22d595f8702
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "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\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 \n
|
|
you 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: To find out
|
|
what 3 times 1 is, I need to use the multiplication tool.\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:
|
|
- '1895'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- _cfuvid=8r8yFLG2b7e3n6pklgpsT05MHRvfdePz1ckAFvRQY8E-1725949790252-0.0.1.1-604800000;
|
|
__cf_bm=fuuc.ZDO3Y9B7nXE_8fBn7ykDAvAaK1VdxjZw0MTtsE-1725949790-1.0.1.1-pAJ7BWJMj1j3gS2ySR6xSBO7uFrjcB6ehFra4QVq14JqaiG4VDIjDO1C3WueKGRnSALSkpLQyJcJ2YVd_pXglQ
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.44.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.44.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-A5ogVJ3eRA7wSBy0zYtun4eXBfGC2\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1725949835,\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 },\n \"system_fingerprint\":
|
|
\"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c0d5ec4a848cf35-SJC
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Tue, 10 Sep 2024 06:30:35 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:
|
|
- '273'
|
|
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_33837d21d986ff6f1938d91ba668082f
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "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\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 \n
|
|
you 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:
|
|
- '1673'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- _cfuvid=8r8yFLG2b7e3n6pklgpsT05MHRvfdePz1ckAFvRQY8E-1725949790252-0.0.1.1-604800000;
|
|
__cf_bm=fuuc.ZDO3Y9B7nXE_8fBn7ykDAvAaK1VdxjZw0MTtsE-1725949790-1.0.1.1-pAJ7BWJMj1j3gS2ySR6xSBO7uFrjcB6ehFra4QVq14JqaiG4VDIjDO1C3WueKGRnSALSkpLQyJcJ2YVd_pXglQ
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.44.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.44.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-A5ogVluSJJ426avHjvdDs2xWhOUDo\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1725949835,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"To find what 2 times 6 is, I need to
|
|
use 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\": 347,\n \"completion_tokens\":
|
|
41,\n \"total_tokens\": 388\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c0d5ec739bfcf35-SJC
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Tue, 10 Sep 2024 06:30:35 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:
|
|
- '452'
|
|
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_e4d96848d2c562e0dbfa93086a8e5a94
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "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\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 \n
|
|
you 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": "To find what 2 times
|
|
6 is, I need to use the multiplication tool.\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:
|
|
- '1882'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- _cfuvid=8r8yFLG2b7e3n6pklgpsT05MHRvfdePz1ckAFvRQY8E-1725949790252-0.0.1.1-604800000;
|
|
__cf_bm=fuuc.ZDO3Y9B7nXE_8fBn7ykDAvAaK1VdxjZw0MTtsE-1725949790-1.0.1.1-pAJ7BWJMj1j3gS2ySR6xSBO7uFrjcB6ehFra4QVq14JqaiG4VDIjDO1C3WueKGRnSALSkpLQyJcJ2YVd_pXglQ
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.44.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.44.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-A5ogW4O5u08YX1Ww8QrINiUYs2Ga3\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1725949836,\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\":
|
|
396,\n \"completion_tokens\": 14,\n \"total_tokens\": 410\n },\n \"system_fingerprint\":
|
|
\"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c0d5ecb5c3dcf35-SJC
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Tue, 10 Sep 2024 06:30:36 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:
|
|
- '222'
|
|
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:
|
|
- '29999553'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_484c9e96ed15e200d8ea43dd99b7a974
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "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\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 \n
|
|
you 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:
|
|
- '1674'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- _cfuvid=8r8yFLG2b7e3n6pklgpsT05MHRvfdePz1ckAFvRQY8E-1725949790252-0.0.1.1-604800000;
|
|
__cf_bm=fuuc.ZDO3Y9B7nXE_8fBn7ykDAvAaK1VdxjZw0MTtsE-1725949790-1.0.1.1-pAJ7BWJMj1j3gS2ySR6xSBO7uFrjcB6ehFra4QVq14JqaiG4VDIjDO1C3WueKGRnSALSkpLQyJcJ2YVd_pXglQ
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.44.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.44.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-A5ogWfeeVfG982UfA6NSS8lqrJodb\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1725949836,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: To determine the result of multiplying
|
|
3 by 1, I need to use the multiplication tool.\\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\": 347,\n \"completion_tokens\":
|
|
45,\n \"total_tokens\": 392\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c0d5ecd9d93cf35-SJC
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Tue, 10 Sep 2024 06:30:37 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:
|
|
- '1116'
|
|
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_f598dfe4fe9a8ed0901139cba254da4d
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "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\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 \n
|
|
you 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: To determine
|
|
the result of multiplying 3 by 1, I need to use the multiplication tool.\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:
|
|
- '1911'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- _cfuvid=8r8yFLG2b7e3n6pklgpsT05MHRvfdePz1ckAFvRQY8E-1725949790252-0.0.1.1-604800000;
|
|
__cf_bm=fuuc.ZDO3Y9B7nXE_8fBn7ykDAvAaK1VdxjZw0MTtsE-1725949790-1.0.1.1-pAJ7BWJMj1j3gS2ySR6xSBO7uFrjcB6ehFra4QVq14JqaiG4VDIjDO1C3WueKGRnSALSkpLQyJcJ2YVd_pXglQ
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.44.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.44.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-A5ogXUWjE6dk7rSz7WKYhWO5r13Mm\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1725949837,\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\":
|
|
400,\n \"completion_tokens\": 14,\n \"total_tokens\": 414\n },\n \"system_fingerprint\":
|
|
\"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c0d5ed59b1ccf35-SJC
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Tue, 10 Sep 2024 06:30:38 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:
|
|
- '316'
|
|
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_3b43e748862045d6173962e9dce1b78c
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
version: 1
|