mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
506 lines
26 KiB
YAML
506 lines
26 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are Crew Manager. You
|
|
are a seasoned manager with a knack for getting the best out of your team.\nYou
|
|
are also known for your ability to delegate work to the right people, and to
|
|
ask the right questions to get the best out of your team.\nEven though you don''t
|
|
perform tasks by yourself, you have a lot of experience in the field, which
|
|
allows you to properly evaluate the work of your team members.\nYour personal
|
|
goal is: Manage the team to complete the task in the best way possible.\nYou
|
|
ONLY have access to the following tools, and should NEVER make up tools that
|
|
are not listed here:\n\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: Senior Writer\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: Senior Writer\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 [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"}, {"role": "user", "content":
|
|
"\nCurrent Task: Write one amazing paragraph about AI.\n\nThis is the expect
|
|
criteria for your final answer: A single paragraph with 4 sentences.\nyou MUST
|
|
return the actual complete content as the final answer, not a summary.\n\nBegin!
|
|
This is VERY important to you, use the tools available and give your best Final
|
|
Answer, your job depends on it!\n\nThought:"}], "model": "gpt-4o"}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '2948'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
|
|
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.47.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.47.0
|
|
x-stainless-raw-response:
|
|
- 'true'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
content: "{\n \"id\": \"chatcmpl-AAjGTOBo7Tt1SmNkQROXn0drcd1fw\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1727120641,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: I need to delegate the task
|
|
of writing an amazing paragraph about AI to the Senior Writer. I should provide
|
|
all necessary context to ensure they understand the importance and criteria
|
|
for the task.\\n\\nAction: Delegate work to coworker\\nAction Input: {\\\"task\\\":
|
|
\\\"Write one amazing paragraph about AI\\\", \\\"context\\\": \\\"Please write
|
|
a single, impactful paragraph about AI consisting of four sentences. The paragraph
|
|
should highlight the transformative impact of AI on society, its potential for
|
|
the future, and a balanced view on the ethical considerations.\\\", \\\"coworker\\\":
|
|
\\\"Senior Writer\\\"}\\n\\nObservation:\",\n \"refusal\": null\n },\n
|
|
\ \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n
|
|
\ \"usage\": {\n \"prompt_tokens\": 647,\n \"completion_tokens\": 116,\n
|
|
\ \"total_tokens\": 763,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c7d06e95966a4c7-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Mon, 23 Sep 2024 19:44:03 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '1559'
|
|
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:
|
|
- '29999279'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 1ms
|
|
x-request-id:
|
|
- req_d0e9ff265842090d44bc260a980e490d
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: !!binary |
|
|
CoUbCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkS3BoKEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRKQAgoQtcdIAc+lx5qZYijyHg6U0hIITwK7vxBu/sIqDlRhc2sgRXhlY3V0aW9uMAE5
|
|
AHBVqRH39xdBuApR0xH39xdKLgoIY3Jld19rZXkSIgogNjFhNjBkNWIzNjAyMWQxYWRhNTQzNGVi
|
|
MmUzODg2ZWVKMQoHY3Jld19pZBImCiQ4MmNkM2MwOC1lNWFhLTRjNmItYjc1Zi00OWZkMTg4NTQ2
|
|
YjdKLgoIdGFza19rZXkSIgogZjQ1Njc5MjEyZDdiZjM3NWQxMWMyODQyMGZiNzJkMjRKMQoHdGFz
|
|
a19pZBImCiQwMWY3MzgxNy05YzhmLTRiM2YtYmRhNy1mNmIwZDBkYTYzYzh6AhgBhQEAAQAAEvwG
|
|
ChAYBCyobWAaLe0q5wagh9m+EgguyPzlaeGbZioMQ3JldyBDcmVhdGVkMAE5EIy31BH39xdBoNm7
|
|
1BH39xdKGgoOY3Jld2FpX3ZlcnNpb24SCAoGMC42MS4wShoKDnB5dGhvbl92ZXJzaW9uEggKBjMu
|
|
MTEuN0ouCghjcmV3X2tleRIiCiBmYjUxNTg5NWJlNmM3ZDNjOGQ2ZjFkOTI5OTk2MWQ1MUoxCgdj
|
|
cmV3X2lkEiYKJGI4Mzc2YmI0LTBmMzQtNDY0Yy1iZDAwLWQwNDM0ZGQyMWFmY0oeCgxjcmV3X3By
|
|
b2Nlc3MSDgoMaGllcmFyY2hpY2FsShEKC2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P-Exporter-Python/1.27.0
|
|
method: POST
|
|
uri: https://telemetry.crewai.com:4319/v1/traces
|
|
response:
|
|
body:
|
|
string: "\n\0"
|
|
headers:
|
|
Content-Length:
|
|
- '2'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
Date:
|
|
- Mon, 23 Sep 2024 19:44:03 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are Senior Writer. You''re
|
|
a senior writer, specialized in technology, software engineering, AI and startups.
|
|
You work as a freelancer and are now working on writing content for a new customer.\nYour
|
|
personal goal is: Write the best content about AI and AI agents.\nTo give my
|
|
best complete final answer to the task use the exact following format:\n\nThought:
|
|
I now can give a great answer\nFinal Answer: Your final answer must be the great
|
|
and the most complete as possible, it must be outcome described.\n\nI MUST use
|
|
these formats, my job depends on it!"}, {"role": "user", "content": "\nCurrent
|
|
Task: Write one amazing paragraph about AI\n\nThis is the expect criteria for
|
|
your final answer: Your best answer to your coworker asking you this, accounting
|
|
for the context shared.\nyou MUST return the actual complete content as the
|
|
final answer, not a summary.\n\nThis is the context you''re working with:\nPlease
|
|
write a single, impactful paragraph about AI consisting of four sentences. The
|
|
paragraph should highlight the transformative impact of AI on society, its potential
|
|
for the future, and a balanced view on the ethical considerations.\n\nBegin!
|
|
This is VERY important to you, use the tools available and give your best Final
|
|
Answer, your job depends on it!\n\nThought:"}], "model": "gpt-4o"}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1350'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
|
|
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.47.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.47.0
|
|
x-stainless-raw-response:
|
|
- 'true'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
content: "{\n \"id\": \"chatcmpl-AAjGV8815iD3NOlAWgPWwJLVukevV\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1727120643,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: I now can give a great answer\\nFinal
|
|
Answer: Artificial Intelligence (AI) is revolutionizing our world by driving
|
|
unprecedented advancements across various sectors, from healthcare to finance,
|
|
enabling more efficient and effective solutions to complex problems. Its potential
|
|
to foster innovation and create new opportunities is virtually limitless, offering
|
|
a glimpse into a future where machines could enhance human capabilities beyond
|
|
current imagination. However, the rapid evolution of AI also brings significant
|
|
ethical considerations, necessitating responsible development and deployment
|
|
to ensure fairness, transparency, and accountability. As we stand on the brink
|
|
of this technological transformation, it is crucial to balance the promise of
|
|
AI with a conscientious approach to harness its power for the collective good.\",\n
|
|
\ \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
|
|
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 256,\n \"completion_tokens\":
|
|
136,\n \"total_tokens\": 392,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c7d06f5cbf2a4c7-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Mon, 23 Sep 2024 19:44:05 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '1925'
|
|
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:
|
|
- '29999673'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_15c9cdd08cf230d548d685623782aa70
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are Crew Manager. You
|
|
are a seasoned manager with a knack for getting the best out of your team.\nYou
|
|
are also known for your ability to delegate work to the right people, and to
|
|
ask the right questions to get the best out of your team.\nEven though you don''t
|
|
perform tasks by yourself, you have a lot of experience in the field, which
|
|
allows you to properly evaluate the work of your team members.\nYour personal
|
|
goal is: Manage the team to complete the task in the best way possible.\nYou
|
|
ONLY have access to the following tools, and should NEVER make up tools that
|
|
are not listed here:\n\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: Senior Writer\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: Senior Writer\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 [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"}, {"role": "user", "content":
|
|
"\nCurrent Task: Write one amazing paragraph about AI.\n\nThis is the expect
|
|
criteria for your final answer: A single paragraph with 4 sentences.\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": "Thought:
|
|
I need to delegate the task of writing an amazing paragraph about AI to the
|
|
Senior Writer. I should provide all necessary context to ensure they understand
|
|
the importance and criteria for the task.\n\nAction: Delegate work to coworker\nAction
|
|
Input: {\"task\": \"Write one amazing paragraph about AI\", \"context\": \"Please
|
|
write a single, impactful paragraph about AI consisting of four sentences. The
|
|
paragraph should highlight the transformative impact of AI on society, its potential
|
|
for the future, and a balanced view on the ethical considerations.\", \"coworker\":
|
|
\"Senior Writer\"}\n\nObservation:\nObservation: Artificial Intelligence (AI)
|
|
is revolutionizing our world by driving unprecedented advancements across various
|
|
sectors, from healthcare to finance, enabling more efficient and effective solutions
|
|
to complex problems. Its potential to foster innovation and create new opportunities
|
|
is virtually limitless, offering a glimpse into a future where machines could
|
|
enhance human capabilities beyond current imagination. However, the rapid evolution
|
|
of AI also brings significant ethical considerations, necessitating responsible
|
|
development and deployment to ensure fairness, transparency, and accountability.
|
|
As we stand on the brink of this technological transformation, it is crucial
|
|
to balance the promise of AI with a conscientious approach to harness its power
|
|
for the collective good."}], "model": "gpt-4o"}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '4397'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
|
|
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.47.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.47.0
|
|
x-stainless-raw-response:
|
|
- 'true'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
content: "{\n \"id\": \"chatcmpl-AAjGX2iJsa1OFGexsYHBXdWnraNwZ\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1727120645,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: I now know the final answer.\\n\\nFinal
|
|
Answer: Artificial Intelligence (AI) is revolutionizing our world by driving
|
|
unprecedented advancements across various sectors, from healthcare to finance,
|
|
enabling more efficient and effective solutions to complex problems. Its potential
|
|
to foster innovation and create new opportunities is virtually limitless, offering
|
|
a glimpse into a future where machines could enhance human capabilities beyond
|
|
current imagination. However, the rapid evolution of AI also brings significant
|
|
ethical considerations, necessitating responsible development and deployment
|
|
to ensure fairness, transparency, and accountability. As we stand on the brink
|
|
of this technological transformation, it is crucial to balance the promise of
|
|
AI with a conscientious approach to harness its power for the collective good.\",\n
|
|
\ \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
|
|
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 892,\n \"completion_tokens\":
|
|
135,\n \"total_tokens\": 1027,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c7d07043b9aa4c7-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Mon, 23 Sep 2024 19:44:07 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '1975'
|
|
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:
|
|
- '29998927'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 2ms
|
|
x-request-id:
|
|
- req_19e8289743139b028f31dc33872c4f18
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
version: 1
|