mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 23:58:34 +00:00
1047 lines
45 KiB
YAML
1047 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", "stop": ["\nObservation:"]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1660'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
|
|
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.46.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.46.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-A8ixN9VizUOIurqRBevvWdBxggdaM\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726642801,\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 multiplcation_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\":
|
|
42,\n \"total_tokens\": 384,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_a5d11b2ef2\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c4f74e41fbba67a-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 18 Sep 2024 07:00:02 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:
|
|
- '545'
|
|
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_a35468a3340c8ae53d2813d48011f5c9
|
|
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 use the multiplcation_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:
|
|
- '1866'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
|
|
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.46.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.46.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-A8ixOdJf1zQkqEJ4l3a83ymD3wlAu\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726642802,\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\": 392,\n \"completion_tokens\":
|
|
5,\n \"total_tokens\": 397,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_a5d11b2ef2\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c4f74ea2ab0a67a-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 18 Sep 2024 07:00:02 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:
|
|
- '154'
|
|
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:
|
|
- '29999563'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_bc3f172aa6ba9f0df9c6de877f3f2762
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: !!binary |
|
|
CsQhCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSmyEKEgo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kiOiAiY2IyNTBjZmJmNzU0M2Y4ODkwMmZiZWQ0OTY4OTI1NWIi
|
|
LCAidG9vbHNfbmFtZXMiOiBbIm11bHRpcGxjYXRpb25fdG9vbCJdfV16AhgBhQEAAQAAEo4CChCK
|
|
G1ljqkz2SyVOUMqj/lquEggAoq2jzGVLfyoMVGFzayBDcmVhdGVkMAE5eDSYtnpE9hdBmP+YtnpE
|
|
9hdKLgoIY3Jld19rZXkSIgogNzVkOWY1NzUyMjYzOTJlZmJkZWQwZmFiZWQ1NjU2ZWJKMQoHY3Jl
|
|
d19pZBImCiQ1ZTk5MDZiZS0wZDhmLTRkMjQtODE0ZC00MGUwYmUzZDBkMDlKLgoIdGFza19rZXkS
|
|
IgogMzBmMzI4NjNhMmViNzk4ZDEwOTZjOTA3MDI4MDk4MzBKMQoHdGFza19pZBImCiQ0ZmNiZGJk
|
|
MC1kZGRjLTQwYTctYjZiNS0zMTJkYWFiNDI4NDl6AhgBhQEAAQAAEpUBChAN2QrNB91hwQUW6WLL
|
|
uem5Eggbk69lsaJE6SoKVG9vbCBVc2FnZTABORiMMO96RPYXQciqNO96RPYXShoKDmNyZXdhaV92
|
|
ZXJzaW9uEggKBjAuNjAuNEohCgl0b29sX25hbWUSFAoSbXVsdGlwbGNhdGlvbl90b29sSg4KCGF0
|
|
dGVtcHRzEgIYAXoCGAGFAQABAAA=
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '4295'
|
|
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:
|
|
- Wed, 18 Sep 2024 07:00:03 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=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
|
|
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.46.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.46.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-A8ixOEWUj5eh9lH8oYG9n0QmGqil8\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726642802,\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_a5d11b2ef2\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c4f74edacb2a67a-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 18 Sep 2024 07:00:03 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:
|
|
- '581'
|
|
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_1417dd0c997fbd7d1dbe762f5eb89f5a
|
|
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", "stop": ["\nObservation:"]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1922'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
|
|
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.46.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.46.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-A8ixPQNoOq3mmIYkH31V0NSlguBYX\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726642803,\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\":
|
|
403,\n \"completion_tokens\": 14,\n \"total_tokens\": 417,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_a5d11b2ef2\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c4f74f3dfe3a67a-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 18 Sep 2024 07:00:04 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:
|
|
- '301'
|
|
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_185d719d783834e8db5a62d68aceb154
|
|
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=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
|
|
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.46.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.46.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-A8ixQeGVlhl23PQlJRZa0pF3c32BV\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726642804,\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 the product of 2 and 6.\\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_a5d11b2ef2\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c4f74f84a64a67a-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 18 Sep 2024 07:00:05 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:
|
|
- '531'
|
|
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_9ce607f3c2793d393954556208dfc94f
|
|
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 use the multiplication
|
|
tool to find the product of 2 and 6.\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:
|
|
- '1915'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
|
|
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.46.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.46.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-A8ixRo9Gq8pjOvzUPbXUSz0EHSwWz\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726642805,\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\":
|
|
401,\n \"completion_tokens\": 14,\n \"total_tokens\": 415,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_a5d11b2ef2\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c4f74fe5d92a67a-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 18 Sep 2024 07:00:05 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:
|
|
- '263'
|
|
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:
|
|
- '29999552'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_f38f7ec24b0f54d0cd2ca29b6eaa5797
|
|
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=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
|
|
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.46.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.46.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-A8ixSfqfkAN6vCxXAw3KIzxTAa1kc\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726642806,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: I need to determine what 3 times
|
|
1 is. I will use the multiplication tool to find this.\\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\":
|
|
47,\n \"total_tokens\": 399,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_a5d11b2ef2\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c4f75029f8fa67a-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 18 Sep 2024 07:00: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:
|
|
- '678'
|
|
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_21c74ccaa0d4ae07ca47f457832bce3e
|
|
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 determine
|
|
what 3 times 1 is. I will use the multiplication tool to find this.\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:
|
|
- '1942'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
|
|
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.46.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.46.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-A8ixTKHhAMXSMcWVcsvZi5m3Q8tx9\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726642807,\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\":
|
|
407,\n \"completion_tokens\": 14,\n \"total_tokens\": 421,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_a5d11b2ef2\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c4f75096bc2a67a-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 18 Sep 2024 07:00: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:
|
|
- '256'
|
|
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:
|
|
- '29999545'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_abd44e023f64b8320a5698c38acb734d
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
version: 1
|