Files
crewAI/tests/cassettes/test_cache_hitting_between_agents.yaml
2024-09-13 04:38:19 -05:00

578 lines
26 KiB
YAML

interactions:
- request:
body: '{"messages": [{"role": "user", "content": "You are CEO. You''re an long
time CEO of a content creation agency with a Senior Writer on the team. You''re
now working on a new project and want to make sure the content produced is amazing.\nYour
personal goal is: Make sure the writers in your company produce amazing content.\nYou
ONLY have access to the following tools, and should NEVER make up tools that
are not listed here:\n\nTool Name: multiplier(*args: Any, **kwargs: Any) ->
Any\nTool Description: multiplier(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''}}\nTool
Name: Delegate work to coworker(task: str, context: str, coworker: Optional[str]
= None, **kwargs)\nTool Description: Delegate a specific task to one of the
following coworkers: Researcher\nThe input to this tool should be the coworker,
the task you want them to do, and ALL necessary context to execute the task,
they know nothing about the task, so share absolute everything you know, don''t
reference things but instead explain them.\nTool Arguments: {''task'': {''title'':
''Task'', ''type'': ''string''}, ''context'': {''title'': ''Context'', ''type'':
''string''}, ''coworker'': {''title'': ''Coworker'', ''type'': ''string''},
''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\nTool Name: Ask question
to coworker(question: str, context: str, coworker: Optional[str] = None, **kwargs)\nTool
Description: Ask a specific question to one of the following coworkers: Researcher\nThe
input to this tool should be the coworker, the question you have for them, and
ALL necessary context to ask the question properly, they know nothing about
the question, so share absolute everything you know, don''t reference things
but instead explain them.\nTool Arguments: {''question'': {''title'': ''Question'',
''type'': ''string''}, ''context'': {''title'': ''Context'', ''type'': ''string''},
''coworker'': {''title'': ''Coworker'', ''type'': ''string''}, ''kwargs'': {''title'':
''Kwargs'', ''type'': ''object''}}\n\nUse the following format:\n\nThought:
you should always think about what to do\nAction: the action to take, only one
name of [multiplier, Delegate work to coworker, Ask question to coworker], 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 tims
6? Return only the number.\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:
- '3076'
content-type:
- application/json
cookie:
- _cfuvid=_Qurzg7MGysLGzSugSD3ZV84qR5Lfxrt9mF2_tfTJqw-1725940709772-0.0.1.1-604800000;
__cf_bm=_VKcRD0U2g9VfrlK3xy3AVQfynnKXZY2jX0QBkR8us8-1725940709-1.0.1.1-F0MIxvXffEPTFVqJ6cgovOMZ9E88rvBTRMj7aIlAQz.bEZJA5fip0HhCYxawoz1MDdwfQ2X_c9FjtN27PR.RHw
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-A5mMbQ6UHTcyC8aift6HnK1mpXobR\",\n \"object\":
\"chat.completion\",\n \"created\": 1725940913,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: To find out the result of 2
times 6, I need to use the multiplier tool to perform the multiplication.\\n\\nAction:
multiplier\\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\": 686,\n \"completion_tokens\":
47,\n \"total_tokens\": 733\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c0c84f689212ae0-LAX
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 10 Sep 2024 04:01:54 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:
- '600'
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:
- '29999245'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 1ms
x-request-id:
- req_86db08069fa35e588d81a71306d83db4
http_version: HTTP/1.1
status_code: 200
- request:
body: !!binary |
CsURCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSnBEKEgoQY3Jld2FpLnRl
bGVtZXRyeRKQAgoQozbANrMOEcHpat8HcP+nbhIItAZyYh9f0foqDlRhc2sgRXhlY3V0aW9uMAE5
YOODdxzG8xdBePbvyh3G8xdKLgoIY3Jld19rZXkSIgogOWJmMmNkZTZiYzVjNDIwMWQ2OWI5YmNm
ZmYzNWJmYjlKMQoHY3Jld19pZBImCiQ1MzJhZWQ5OS0zMDYxLTQzOTctYmVhNC0wYzU0MzY0ZWUx
ZTRKLgoIdGFza19rZXkSIgogYzUwMmM1NzQ1YzI3ODFhZjUxYjJmM2VmNWQ2MmZjNzRKMQoHdGFz
a19pZBImCiQ4MDk3Njc3OC0xNDdhLTQwNGQtYmE4OC1mNjBhNTcwNDU3NDB6AhgBhQEAAQAAEtEL
ChBvO2wLC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I3NWMyNWRh
NjIyMzc1SjEKB2NyZXdfaWQSJgokMzAzMGIwNWQtYzlmZC00YWM3LTg4NDctNGZiODQ3NTAwMGVl
Si4KCHRhc2tfa2V5EiIKIDA4Y2RlOTA5MzkxNjk5NDU3MzMwMmM3MTE3YTk2Y2Q1SjEKB3Rhc2tf
aWQSJgokODAyYTE3Y2QtMzliZC00YmJhLTk2ODItMGVmZjhlYjRmYTRlegIYAYUBAAEAABKNAQoQ
7qYOPya3rpNe4gvd3hYxShIItN7ET/SKkdgqClRvb2wgVXNhZ2UwATnQTaj+HcbzF0GY5az+Hcbz
F0oaCg5jcmV3YWlfdmVyc2lvbhIICgYwLjU1LjJKGQoJdG9vbF9uYW1lEgwKCm11bHRpcGxpZXJK
DgoIYXR0ZW1wdHMSAhgBegIYAYUBAAEAAA==
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '2248'
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 04:01:54 GMT
status:
code: 200
message: OK
- request:
body: '{"messages": [{"role": "user", "content": "You are CEO. You''re an long
time CEO of a content creation agency with a Senior Writer on the team. You''re
now working on a new project and want to make sure the content produced is amazing.\nYour
personal goal is: Make sure the writers in your company produce amazing content.\nYou
ONLY have access to the following tools, and should NEVER make up tools that
are not listed here:\n\nTool Name: multiplier(*args: Any, **kwargs: Any) ->
Any\nTool Description: multiplier(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''}}\nTool
Name: Delegate work to coworker(task: str, context: str, coworker: Optional[str]
= None, **kwargs)\nTool Description: Delegate a specific task to one of the
following coworkers: Researcher\nThe input to this tool should be the coworker,
the task you want them to do, and ALL necessary context to execute the task,
they know nothing about the task, so share absolute everything you know, don''t
reference things but instead explain them.\nTool Arguments: {''task'': {''title'':
''Task'', ''type'': ''string''}, ''context'': {''title'': ''Context'', ''type'':
''string''}, ''coworker'': {''title'': ''Coworker'', ''type'': ''string''},
''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\nTool Name: Ask question
to coworker(question: str, context: str, coworker: Optional[str] = None, **kwargs)\nTool
Description: Ask a specific question to one of the following coworkers: Researcher\nThe
input to this tool should be the coworker, the question you have for them, and
ALL necessary context to ask the question properly, they know nothing about
the question, so share absolute everything you know, don''t reference things
but instead explain them.\nTool Arguments: {''question'': {''title'': ''Question'',
''type'': ''string''}, ''context'': {''title'': ''Context'', ''type'': ''string''},
''coworker'': {''title'': ''Coworker'', ''type'': ''string''}, ''kwargs'': {''title'':
''Kwargs'', ''type'': ''object''}}\n\nUse the following format:\n\nThought:
you should always think about what to do\nAction: the action to take, only one
name of [multiplier, Delegate work to coworker, Ask question to coworker], 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 tims
6? Return only the number.\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: To find out the
result of 2 times 6, I need to use the multiplier tool to perform the multiplication.\n\nAction:
multiplier\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:
- '3322'
content-type:
- application/json
cookie:
- _cfuvid=_Qurzg7MGysLGzSugSD3ZV84qR5Lfxrt9mF2_tfTJqw-1725940709772-0.0.1.1-604800000;
__cf_bm=_VKcRD0U2g9VfrlK3xy3AVQfynnKXZY2jX0QBkR8us8-1725940709-1.0.1.1-F0MIxvXffEPTFVqJ6cgovOMZ9E88rvBTRMj7aIlAQz.bEZJA5fip0HhCYxawoz1MDdwfQ2X_c9FjtN27PR.RHw
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-A5mMcUMBzafGAeqyzOOjP9dG4861c\",\n \"object\":
\"chat.completion\",\n \"created\": 1725940914,\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\":
741,\n \"completion_tokens\": 14,\n \"total_tokens\": 755\n },\n \"system_fingerprint\":
\"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c0c84fb78152ae0-LAX
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 10 Sep 2024 04:01:55 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:
- '320'
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:
- '29999195'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 1ms
x-request-id:
- req_13f17dba3eb750f9954ad3b207199076
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "user", "content": "You are Researcher. You''re
an expert researcher, specialized in technology, software engineering, AI and
startups. You work as a freelancer and is now working on doing research and
analysis for a new customer.\nYour personal goal is: Make the best research
and analysis on content about AI and AI agents\nYou ONLY have access to the
following tools, and should NEVER make up tools that are not listed here:\n\nTool
Name: multiplier(*args: Any, **kwargs: Any) -> Any\nTool Description: multiplier(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
[multiplier], 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.\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:
- '1757'
content-type:
- application/json
cookie:
- _cfuvid=_Qurzg7MGysLGzSugSD3ZV84qR5Lfxrt9mF2_tfTJqw-1725940709772-0.0.1.1-604800000;
__cf_bm=_VKcRD0U2g9VfrlK3xy3AVQfynnKXZY2jX0QBkR8us8-1725940709-1.0.1.1-F0MIxvXffEPTFVqJ6cgovOMZ9E88rvBTRMj7aIlAQz.bEZJA5fip0HhCYxawoz1MDdwfQ2X_c9FjtN27PR.RHw
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-A5mMddBmUiOdrdPlE54yWxC6iAEpR\",\n \"object\":
\"chat.completion\",\n \"created\": 1725940915,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"To determine what 2 times 6 is, I need
to use the available tool to perform the multiplication.\\n\\nAction: multiplier\\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\": 360,\n \"completion_tokens\":
43,\n \"total_tokens\": 403\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c0c84ff6d192ae0-LAX
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 10 Sep 2024 04:01:55 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:
- '745'
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:
- '29999573'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_5bb9283ecfc51628248da17a5288012a
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "user", "content": "You are Researcher. You''re
an expert researcher, specialized in technology, software engineering, AI and
startups. You work as a freelancer and is now working on doing research and
analysis for a new customer.\nYour personal goal is: Make the best research
and analysis on content about AI and AI agents\nYou ONLY have access to the
following tools, and should NEVER make up tools that are not listed here:\n\nTool
Name: multiplier(*args: Any, **kwargs: Any) -> Any\nTool Description: multiplier(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
[multiplier], 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.\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": "To determine what 2 times 6 is, I need to use the available
tool to perform the multiplication.\n\nAction: multiplier\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:
- '1988'
content-type:
- application/json
cookie:
- _cfuvid=_Qurzg7MGysLGzSugSD3ZV84qR5Lfxrt9mF2_tfTJqw-1725940709772-0.0.1.1-604800000;
__cf_bm=_VKcRD0U2g9VfrlK3xy3AVQfynnKXZY2jX0QBkR8us8-1725940709-1.0.1.1-F0MIxvXffEPTFVqJ6cgovOMZ9E88rvBTRMj7aIlAQz.bEZJA5fip0HhCYxawoz1MDdwfQ2X_c9FjtN27PR.RHw
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-A5mMeroI1akZAid5etQvuaRFZTwVV\",\n \"object\":
\"chat.completion\",\n \"created\": 1725940916,\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\":
411,\n \"completion_tokens\": 14,\n \"total_tokens\": 425\n },\n \"system_fingerprint\":
\"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c0c85058d532ae0-LAX
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 10 Sep 2024 04:01:56 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:
- '432'
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:
- '29999526'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_c09759f91048f54059bdecb9615cccc7
http_version: HTTP/1.1
status_code: 200
version: 1