mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
507 lines
25 KiB
YAML
507 lines
25 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=hYfEMfBWpIoRPjx9ZBZg6DVeMOMr1IZt9ioup8yWZs0-1727072673-1.0.1.1-Ro7GCLuWS0K5ob0mSTYSmovONKNyxsK6oSA5io_Vwqhe6P0G7Ow4CuZUaWAaCdFGQUd7XZiFH0mI_sQC3uqe0g;
|
|
_cfuvid=5cK2hfLqTXw1WjB81uT.sGmmA67JIxSKSQeEHQ3zOQw-1727071769966-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-AAWpra0YjKvrFbPPC63cClkCMKd83\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1727072863,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: To write an amazing paragraph
|
|
about AI, I need to utilize the expertise of the Senior Writer. I will delegate
|
|
the task to them with the specific criteria and context needed for crafting
|
|
the paragraph.\\n\\nAction: Delegate work to coworker\\nAction Input: {\\\"task\\\":
|
|
\\\"Write one amazing paragraph about AI.\\\", \\\"context\\\": \\\"The paragraph
|
|
should be a single paragraph with 4 sentences, highlighting the significance,
|
|
advancements, and potential of AI in a compelling manner.\\\", \\\"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\": 104,\n
|
|
\ \"total_tokens\": 751,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c7878761b0da4ee-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Mon, 23 Sep 2024 06:27:45 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:
|
|
- '1433'
|
|
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:
|
|
- '29999278'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 1ms
|
|
x-request-id:
|
|
- req_40b97efa56b4edc5131ddb63532e21f4
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: !!binary |
|
|
CoUbCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkS3BoKEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRKQAgoQ5h1cfdVeFzdNx51ifftXgxIIZtEi4SJR4DgqDlRhc2sgRXhlY3V0aW9uMAE5
|
|
QNj/lp3L9xdBIF3evJ3L9xdKLgoIY3Jld19rZXkSIgogNjFhNjBkNWIzNjAyMWQxYWRhNTQzNGVi
|
|
MmUzODg2ZWVKMQoHY3Jld19pZBImCiQ2ZTczMmZkNC05MjQ3LTQyZTgtYjgyNi0xNDNmZWRmNThj
|
|
NWNKLgoIdGFza19rZXkSIgogZjQ1Njc5MjEyZDdiZjM3NWQxMWMyODQyMGZiNzJkMjRKMQoHdGFz
|
|
a19pZBImCiRlNGUzMDkyMy0wNjMxLTRlMzktOTIzMi1kOGZhZmU5OGU3NzN6AhgBhQEAAQAAEvwG
|
|
ChA3Qc9kt75QRvdATIl8iXKmEgg6nR3Zs7zOASoMQ3JldyBDcmVhdGVkMAE5gP52vp3L9xdBkIp7
|
|
vp3L9xdKGgoOY3Jld2FpX3ZlcnNpb24SCAoGMC42MS4wShoKDnB5dGhvbl92ZXJzaW9uEggKBjMu
|
|
MTEuN0ouCghjcmV3X2tleRIiCiBmYjUxNTg5NWJlNmM3ZDNjOGQ2ZjFkOTI5OTk2MWQ1MUoxCgdj
|
|
cmV3X2lkEiYKJGIzNWIzMjJmLWYzMzItNDNjNC1hYTE0LTJhMzBiMWM1Yzg1OUoeCgxjcmV3X3By
|
|
b2Nlc3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f
|
|
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:
|
|
- Mon, 23 Sep 2024 06:27:46 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:\nThe
|
|
paragraph should be a single paragraph with 4 sentences, highlighting the significance,
|
|
advancements, and potential of AI in a compelling manner.\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:
|
|
- '1263'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=hYfEMfBWpIoRPjx9ZBZg6DVeMOMr1IZt9ioup8yWZs0-1727072673-1.0.1.1-Ro7GCLuWS0K5ob0mSTYSmovONKNyxsK6oSA5io_Vwqhe6P0G7Ow4CuZUaWAaCdFGQUd7XZiFH0mI_sQC3uqe0g;
|
|
_cfuvid=5cK2hfLqTXw1WjB81uT.sGmmA67JIxSKSQeEHQ3zOQw-1727071769966-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-AAWptKGUf9zBlF7RASmw3sywUxDs1\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1727072865,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"I now can give a great answer\\nFinal
|
|
Answer: Artificial Intelligence (AI) has revolutionized multiple industries
|
|
by enabling machines to perform tasks that traditionally required human intelligence,
|
|
such as understanding natural language and recognizing patterns. The rapid advancements
|
|
in AI technology, from machine learning to deep learning algorithms, have led
|
|
to remarkable breakthroughs, including self-driving cars, real-time language
|
|
translation, and predictive healthcare. Its potential is virtually limitless,
|
|
offering the promise of enhanced efficiency, innovative solutions, and the ability
|
|
to tackle complex global challenges. As we continue to integrate AI into our
|
|
daily lives, it is essential to consider ethical implications and ensure these
|
|
technologies are developed responsibly to benefit humanity as a whole.\",\n
|
|
\ \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
|
|
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 242,\n \"completion_tokens\":
|
|
134,\n \"total_tokens\": 376,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c787881a8b1a4ee-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Mon, 23 Sep 2024 06:27:47 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:
|
|
- '1829'
|
|
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:
|
|
- '29999696'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_cb1b184801851fe25db2e22567fd6517
|
|
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:
|
|
To write an amazing paragraph about AI, I need to utilize the expertise of the
|
|
Senior Writer. I will delegate the task to them with the specific criteria and
|
|
context needed for crafting the paragraph.\n\nAction: Delegate work to coworker\nAction
|
|
Input: {\"task\": \"Write one amazing paragraph about AI.\", \"context\": \"The
|
|
paragraph should be a single paragraph with 4 sentences, highlighting the significance,
|
|
advancements, and potential of AI in a compelling manner.\", \"coworker\": \"Senior
|
|
Writer\"}\n\nObservation:\nObservation: Artificial Intelligence (AI) has revolutionized
|
|
multiple industries by enabling machines to perform tasks that traditionally
|
|
required human intelligence, such as understanding natural language and recognizing
|
|
patterns. The rapid advancements in AI technology, from machine learning to
|
|
deep learning algorithms, have led to remarkable breakthroughs, including self-driving
|
|
cars, real-time language translation, and predictive healthcare. Its potential
|
|
is virtually limitless, offering the promise of enhanced efficiency, innovative
|
|
solutions, and the ability to tackle complex global challenges. As we continue
|
|
to integrate AI into our daily lives, it is essential to consider ethical implications
|
|
and ensure these technologies are developed responsibly to benefit humanity
|
|
as a whole."}], "model": "gpt-4o"}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '4312'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=hYfEMfBWpIoRPjx9ZBZg6DVeMOMr1IZt9ioup8yWZs0-1727072673-1.0.1.1-Ro7GCLuWS0K5ob0mSTYSmovONKNyxsK6oSA5io_Vwqhe6P0G7Ow4CuZUaWAaCdFGQUd7XZiFH0mI_sQC3uqe0g;
|
|
_cfuvid=5cK2hfLqTXw1WjB81uT.sGmmA67JIxSKSQeEHQ3zOQw-1727071769966-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-AAWpv9DWq2eN3jGRVVIyddJXD4ehp\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1727072867,\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) has revolutionized multiple industries
|
|
by enabling machines to perform tasks that traditionally required human intelligence,
|
|
such as understanding natural language and recognizing patterns. The rapid advancements
|
|
in AI technology, from machine learning to deep learning algorithms, have led
|
|
to remarkable breakthroughs, including self-driving cars, real-time language
|
|
translation, and predictive healthcare. Its potential is virtually limitless,
|
|
offering the promise of enhanced efficiency, innovative solutions, and the ability
|
|
to tackle complex global challenges. As we continue to integrate AI into our
|
|
daily lives, it is essential to consider ethical implications and ensure these
|
|
technologies are developed responsibly to benefit humanity as a whole.\",\n
|
|
\ \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
|
|
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 880,\n \"completion_tokens\":
|
|
135,\n \"total_tokens\": 1015,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c78788f5f3ea4ee-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Mon, 23 Sep 2024 06:27:50 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:
|
|
- '2131'
|
|
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:
|
|
- '29998948'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 2ms
|
|
x-request-id:
|
|
- req_9048bc24816922dee72f45e795968568
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
version: 1
|